/*
Theme Name: 10-Vorne Kita
Theme URI: https://10-vorne.net/
Author: 10-Vorne e. V.
Description: Individuelles, kindgerechtes WordPress-Theme für den Kinderladen 10-Vorne. Inhalte wie Platzsuche, Stellenangebote und Kontakt werden im Backend gepflegt.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: 10vorne
*/

    :root {
      --forest: #28584c;
      --forest-dark: #193f36;
      --leaf: #dce9cb;
      --cream: #fbf7eb;
      --paper: #fffdf8;
      --coral: #ed8068;
      --sun: #f5d76d;
      --sky: #d9edf0;
      --ink: #263a32;
      --muted: #63726a;
      --line: #e7e1d2;
      --radius: 24px;
      --shadow: 0 18px 45px rgba(40, 88, 76, .11);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 94px; }
    body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Nunito", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; line-height: 1.65; }
    img { display: block; max-width: 100%; }
    a { color: inherit; }
    button { font: inherit; }
    .wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
    .topbar { position: sticky; top: 0; z-index: 20; background: var(--paper); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(40,88,76,.09); }
    .nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
    .brand { display:block; flex:none; width:clamp(135px,16vw,180px); color:var(--forest-dark); text-decoration:none; line-height:0; }
    .brand > img { display:block; width:100%; height:auto; transform:translateY(-13%); }
    .navlinks { display: flex; align-items: center; gap: clamp(13px, 2vw, 25px); }
    .navlinks .primary-menu { display:flex; align-items:center; gap:clamp(13px,2vw,25px); list-style:none; margin:0; padding:0; }
    .navlinks .primary-menu li { margin:0; padding:0; }
    .navlinks a { color: var(--forest-dark); text-decoration: none; font-size: .88rem; font-weight: 700; }
    .navlinks a:hover { color: var(--coral); }
    .navlinks a.button { color: white; }
    .navlinks a.button:hover { color: white; }
    .button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 20px; border: 0; border-radius: 999px; background: var(--forest); color: white; text-decoration: none; font-weight: 800; box-shadow: 0 8px 20px rgba(40,88,76,.18); transition: transform .2s, background .2s; }
    .button:hover { background: var(--forest-dark); transform: translateY(-2px); }
    .button.light { color: var(--forest); background: white; box-shadow: none; border: 1px solid rgba(40,88,76,.15); }
    .menu-toggle { display:none; border:0; background:var(--leaf); color:var(--forest); border-radius:12px; width:44px; height:44px; font-size:1.25rem; }
    .hero { overflow: hidden; padding: 58px 0 70px; position: relative; background: radial-gradient(ellipse at 5% 95%, rgba(245,215,109,.36), transparent 34%), radial-gradient(ellipse at 90% 8%, rgba(217,237,240,.8), transparent 35%), var(--cream); }
    .hero-grid { display:grid; grid-template-columns: 1.02fr .98fr; align-items:center; gap: clamp(35px, 7vw, 90px); }
    .eyebrow { display:inline-flex; align-items:center; gap:8px; margin:0 0 18px; color:var(--forest); font-weight:800; font-size:.82rem; letter-spacing:.09em; text-transform:uppercase; }
    .eyebrow::before { content:""; width:24px; height:3px; border-radius:4px; background:var(--coral); }
    h1,h2,h3,p { margin-top:0; }
    h1,h2,h3 { color:var(--forest-dark); line-height:1.12; letter-spacing:-.04em; }
    h1 { max-width: 670px; margin-bottom:22px; font-size:clamp(3rem, 6.3vw, 5.6rem); }
    h1 em { color:var(--coral); font-style:normal; }
    .hero-copy > p:not(.eyebrow) { max-width: 560px; font-size:1.13rem; color:#52645b; }
    .hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:13px; margin-top:28px; }
    .hero-note { margin-top:22px; color:var(--muted); font-size:.9rem; }
    .hero-photo { position:relative; min-height:490px; }
    .hero-photo::before { content:""; position:absolute; inset:20px 16px 4px 30px; border-radius:48% 52% 36% 38% / 35% 38% 62% 65%; background:var(--sun); transform:rotate(5deg); }
    .hero-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 44%; border:10px solid var(--paper); border-radius:46% 54% 35% 40% / 34% 39% 61% 66%; transform:rotate(-2deg); box-shadow:var(--shadow); }
    .photo-sticker { position:absolute; z-index:1; bottom:12px; left:0; width:120px; height:120px; display:grid; place-items:center; padding:15px; border-radius:50%; background:var(--coral); color:white; text-align:center; font-weight:900; line-height:1.15; transform:rotate(-9deg); box-shadow:var(--shadow); }
    .stats { position:relative; z-index:1; margin-top:-24px; }
    .stats-inner { display:grid; grid-template-columns:repeat(3,1fr); overflow:hidden; border-radius:20px; background:var(--forest); color:white; box-shadow:var(--shadow); }
    .stat { padding:22px 28px; display:flex; align-items:center; justify-content:center; gap:12px; text-align:left; }
    .stat + .stat { border-left:1px solid rgba(255,255,255,.19); }
    .stat strong { display:block; font-size:1.45rem; line-height:1.1; }
    .stat span { font-size:.85rem; opacity:.83; }
    section { padding:96px 0; }
    .section-head { max-width:720px; margin:0 auto 44px; text-align:center; }
    .section-head .eyebrow { justify-content:center; }
    h2 { margin-bottom:16px; font-size:clamp(2.1rem,4vw,3.4rem); }
    .section-head p { margin-bottom:0; color:var(--muted); font-size:1.05rem; }
    .reasons { background:var(--paper); }
    .reason-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
    .reason { min-height:190px; padding:27px; border-radius:var(--radius); background:var(--cream); }
    .reason:nth-child(3n+2) { background:#eff5e9; }
    .reason:nth-child(3n) { background:#fce9df; }
    h3 { margin-bottom:10px; font-size:1.34rem; }
    .reason p,.content-card p,.content-card li { color:#59685f; }
    .reason p { margin-bottom:0; font-size:.96rem; }
    .split { display:grid; grid-template-columns: .95fr 1.05fr; gap:clamp(40px,7vw,90px); align-items:center; }
    .copy h2 { max-width:570px; }
    .copy > p { color:var(--muted); }
    .moment-visual { position:relative; min-height:460px; }
    .moment-visual::before { content:""; position:absolute; inset:10px 12px 2px 18px; border-radius:38% 62% 44% 56% / 52% 34% 66% 48%; background:var(--sky); transform:rotate(-5deg); }
    .moment-visual img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 48%; border:10px solid var(--paper); border-radius:42% 58% 39% 61% / 47% 37% 63% 53%; transform:rotate(2deg); box-shadow:var(--shadow); }
    .feature-note { display:inline-flex; align-items:center; gap:9px; margin-top:20px; padding:10px 15px; background:var(--leaf); border-radius:999px; color:var(--forest); font-size:.88rem; font-weight:800; }
    .activities { background:var(--sky); }
    .news-section { background:var(--sky); }
    .news-intro { display:grid; grid-template-columns:.8fr 1.2fr; align-items:end; gap:32px; margin-bottom:28px; }
    .news-intro .eyebrow { margin-bottom:12px; }
    .news-intro h2 { margin:0; }
    .news-intro > p { max-width:650px; margin:0; color:var(--muted); font-size:1.05rem; }
    .news-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
    .news-card { min-height:205px; padding:25px; border-top:4px solid var(--forest); border-radius:20px; background:var(--paper); box-shadow:0 10px 28px rgba(40,88,76,.08); }
    .news-card:nth-child(2) { border-top-color:var(--coral); }
    .news-card:nth-child(3) { border-top-color:#d8b64c; }
    .news-card .news-label { margin:0; color:var(--muted); font-size:.76rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
    .news-card h3 { margin:11px 0 10px; font-size:1.28rem; }
    .news-card p:not(.news-label) { margin:0 0 16px; color:var(--muted); font-size:.94rem; }
    .news-card a { color:var(--forest); font-weight:900; text-decoration-thickness:2px; text-underline-offset:4px; }
    .week-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
    .day-card { position:relative; padding:28px; border-radius:var(--radius); background:var(--paper); box-shadow:0 10px 28px rgba(40,88,76,.07); }
    .day { color:var(--coral); font-size:.8rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
    .day-card h3 { margin:7px 0 12px; }
    .day-card p { margin:0; color:var(--muted); }
    .concept { background:var(--leaf); }
    .concept-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
    .content-card { padding:30px; border-radius:var(--radius); background:rgba(255,253,248,.86); }
    .content-card ul { padding-left:20px; margin-bottom:0; }
    .content-card li + li { margin-top:8px; }
    .concept-banner { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-top:22px; padding:26px 30px; border-radius:var(--radius); background:var(--forest); color:white; }
    .concept-banner h3 { color:white; margin:0; }
    .concept-banner p { margin:0; max-width:620px; color:rgba(255,255,255,.82); }
    .parents { background:var(--paper); }
    .parent-panel { display:grid; grid-template-columns:1.1fr .9fr; border-radius:30px; overflow:hidden; box-shadow:var(--shadow); background:var(--cream); }
    .parent-main { padding:clamp(30px,5vw,58px); }
    .parent-aside { padding:clamp(30px,4vw,46px); background:var(--sun); }
    .parent-aside h3 { font-size:1.6rem; }
    .parent-main ul,.parent-aside ul { padding-left:21px; }
    .parent-main li,.parent-aside li { margin:0 0 12px; }
    .parent-pull { margin-top:24px; padding:18px 20px; border-left:4px solid var(--coral); background:white; border-radius:0 16px 16px 0; color:var(--forest-dark); font-weight:800; }
    .cost { display:inline-flex; align-items:baseline; gap:9px; padding:12px 18px; border-radius:14px; background:white; color:var(--forest); font-weight:800; }
    .team { background:#f7eee2; }
    .team-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
    .team-card { padding:32px; border-radius:var(--radius); background:var(--paper); }
    .hours { display:flex; align-items:center; gap:16px; margin-top:22px; padding:18px 20px; border-radius:18px; background:var(--sky); }
    .hours strong { display:block; color:var(--forest); }
    .hours span { color:var(--muted); font-size:.92rem; }
    .spaces { background:var(--paper); }
    .room-layout { display:grid; grid-template-columns:.86fr 1.14fr; gap:clamp(28px,5vw,62px); align-items:stretch; }
    .room-notes { padding:8px 0; }
    .room-notes h3 { margin-bottom:12px; font-size:1.18rem; }
    .room-details { list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
    .room-details li { display:flex; flex-direction:column; gap:2px; padding:11px 0; border-bottom:1px solid var(--line); }
    .room-details strong { color:var(--forest); font-size:.91rem; line-height:1.35; }
    .room-details span { color:var(--muted); font-size:.85rem; line-height:1.45; }
    .room-collage { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(285px,1fr)); gap:14px 18px; min-height:584px; align-items:stretch; }
    .room-card { position:relative; isolation:isolate; display:flex; flex-direction:column; align-items:center; justify-content:center; overflow:visible; margin:0; padding:3px 4px; border-radius:0; background:transparent; }
    .room-card::before { content:""; position:absolute; z-index:-1; inset:7% 8% 16%; border-radius:58% 42% 52% 48% / 45% 55% 45% 55%; background:var(--sun); opacity:.62; transform:rotate(-5deg); }
    .room-card:nth-child(2)::before { background:var(--sky); border-radius:44% 56% 42% 58% / 54% 44% 56% 46%; transform:rotate(5deg); }
    .room-card:nth-child(3)::before { background:var(--leaf); border-radius:52% 48% 58% 42% / 43% 57% 43% 57%; transform:rotate(-4deg); }
    .room-card:nth-child(4)::before { background:#fce9df; border-radius:48% 52% 43% 57% / 55% 45% 55% 45%; transform:rotate(4deg); }
    .room-card img { width:100%; height:auto; aspect-ratio:4 / 3; min-height:0; flex:none; object-fit:cover; border:8px solid #fff; border-radius:53% 47% 44% 56% / 42% 49% 51% 58%; box-shadow:0 12px 28px rgba(40,88,76,.16); transform:rotate(-1.4deg); }
    .room-card:nth-child(2) img { border-radius:46% 54% 56% 44% / 52% 44% 56% 48%; transform:rotate(1.3deg); }
    .room-card:nth-child(3) img { border-radius:54% 46% 48% 52% / 45% 56% 44% 55%; transform:rotate(-1deg); }
    .room-card:nth-child(4) img { border-radius:45% 55% 52% 48% / 54% 46% 56% 44%; transform:rotate(1.6deg); }
    .room-card figcaption { position:relative; z-index:1; margin-top:8px; padding:7px 13px; border-radius:999px; background:var(--paper); color:var(--forest); font-size:.88rem; font-weight:800; text-align:center; box-shadow:0 5px 16px rgba(40,88,76,.09); white-space:nowrap; }
    .room-gallery-item { display:block; flex:none; width:100%; min-height:0; padding:0; border:0; background:transparent; cursor:zoom-in; }
    .room-gallery-item img { display:block; transition:filter .2s,box-shadow .2s; }
    .room-gallery-item:hover img { filter:brightness(1.035); box-shadow:0 15px 32px rgba(40,88,76,.22); }
    .room-gallery-item:focus-visible { outline:3px solid var(--forest); outline-offset:6px; border-radius:24px; }
    .quotes { background:var(--coral); }
    .quotes .section-head h2,.quotes .section-head p,.quotes .eyebrow { color:white; }
    .quotes .eyebrow::before { background:var(--sun); }
    .quote-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
    blockquote { margin:0; padding:30px; border-radius:var(--radius); background:var(--paper); color:#526158; box-shadow:0 12px 28px rgba(98,45,32,.1); }
    blockquote p { margin-bottom:18px; }
    blockquote cite { color:var(--forest); font-weight:900; font-style:normal; }
    .gallery { background:var(--cream); }
    .gallery-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .gallery-item { position:relative; overflow:hidden; padding:0; border:0; border-radius:18px; background:#ddd; cursor:zoom-in; box-shadow:0 5px 18px rgba(40,88,76,.08); }
    .gallery-item img { width:100%; height:220px; object-fit:cover; transition:transform .35s; }
    .gallery-item:hover img { transform:scale(1.045); }
    .gallery-item .room { object-position:center; }
    .gallery-tip { margin:22px auto 0; max-width:720px; text-align:center; color:var(--muted); font-size:.9rem; }
    .contact { background:var(--forest); color:white; }
    .contact h2,.contact h3 { color:white; }
    .contact-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:36px; align-items:center; }
    .contact .eyebrow { color:var(--sun); }
    .contact .eyebrow::before { background:var(--coral); }
    .contact-copy > p { max-width:650px; color:rgba(255,255,255,.79); }
    .contact-box { padding:28px; border-radius:24px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); }
    .contact-box a { color:white; font-weight:800; }
    .contact-box p { margin-bottom:10px; color:rgba(255,255,255,.82); }
    .contact-box p:last-child { margin-bottom:0; }
    .review-note { margin-top:32px; padding:15px 18px; border-radius:14px; background:rgba(245,215,109,.16); border:1px solid rgba(245,215,109,.35); color:#fff1be; font-size:.88rem; }
    footer { padding:23px 0; background:var(--forest-dark); color:rgba(255,255,255,.74); font-size:.84rem; }
    .footer-inner { display:flex; justify-content:space-between; gap:20px; align-items:center; }
    footer a { color:white; text-decoration:none; }
    dialog { width:min(1000px,calc(100% - 28px)); max-width:none; padding:0; border:0; border-radius:22px; background:#162820; color:white; box-shadow:0 24px 90px rgba(0,0,0,.45); }
    dialog::backdrop { background:rgba(14,29,23,.82); backdrop-filter:blur(4px); }
    .lightbox-wrap { position:relative; padding:18px; }
    .lightbox-wrap img { max-height:min(80vh,850px); max-width:100%; margin:auto; object-fit:contain; border-radius:12px; }
    .lightbox-top { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:0 2px 13px; }
    .lightbox-top p { margin:0; color:rgba(255,255,255,.82); font-size:.92rem; }
    .lightbox-close,.lightbox-arrow { display:grid; place-items:center; width:42px; height:42px; border:0; border-radius:50%; color:white; background:rgba(255,255,255,.15); cursor:pointer; font-size:1.3rem; }
    .lightbox-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:2; }
    .lightbox-arrow.prev { left:28px; }.lightbox-arrow.next { right:28px; }
    .draft-tag { position:fixed; z-index:19; right:14px; bottom:12px; padding:7px 12px; border-radius:999px; background:#fff4c5; color:#614d15; font-size:.75rem; font-weight:900; box-shadow:0 4px 15px rgba(0,0,0,.12); }
    @media (max-width: 980px) {
      .brand { width:164px; }.navlinks { gap:12px; }.navlinks a { font-size:.8rem; }
      .hero-grid { gap:35px; }.hero-photo { min-height:420px; }
      .gallery-grid { grid-template-columns:repeat(3,1fr); }
      .news-card { padding:21px; }
    }
    @media (max-width: 760px) {
      .wrap { width:min(100% - 28px, 600px); }
      .brand { width:135px; }
      .nav { min-height:68px; }.menu-toggle { display:block; }
      .navlinks { display:none; position:absolute; top:68px; left:0; right:0; padding:16px 22px 22px; flex-direction:column; align-items:stretch; gap:0; background:var(--paper); border-bottom:1px solid var(--line); box-shadow:0 16px 20px rgba(40,88,76,.08); }
      .navlinks.open { display:flex; }.navlinks .primary-menu { flex-direction:column; align-items:stretch; gap:0; }.navlinks a { display:block; padding:12px 0; font-size:.95rem; border-bottom:1px solid var(--line); }
      .navlinks .button { margin-top:12px; border:0; justify-content:center; }
      .hero { padding:42px 0 54px; }.hero-grid { grid-template-columns:1fr; }
      .hero-copy { text-align:center; }.hero-copy .eyebrow,.hero-actions { justify-content:center; }.hero-copy > p:not(.eyebrow) { margin-left:auto; margin-right:auto; }
      h1 { margin-left:auto; margin-right:auto; font-size:clamp(2.8rem,13vw,4.2rem); }
      .hero-photo { width:min(100%,480px); min-height:390px; margin:4px auto 0; }
      .stats { margin-top:-15px; }.stats-inner { grid-template-columns:1fr; }.stat { justify-content:flex-start; padding:17px 24px; }.stat + .stat { border-left:0; border-top:1px solid rgba(255,255,255,.19); }
      section { padding:72px 0; }.reason-grid,.week-grid { grid-template-columns:1fr 1fr; }
      .split,.parent-panel,.team-grid,.contact-grid { grid-template-columns:1fr; }
      .news-intro { grid-template-columns:1fr; gap:12px; text-align:center; }.news-intro .eyebrow { justify-content:center; }.news-grid { grid-template-columns:1fr; }
      .moment-visual { min-height:390px; }.concept-grid { grid-template-columns:1fr; }.concept-banner { align-items:flex-start; flex-direction:column; }
      .room-layout { grid-template-columns:1fr; gap:25px; }.room-collage { grid-template-rows:repeat(2,minmax(270px,1fr)); min-height:554px; }.quote-grid { grid-template-columns:1fr; }
      .gallery-grid { grid-template-columns:repeat(2,1fr); gap:10px; }.gallery-item img { height:170px; }
      .footer-inner { align-items:flex-start; flex-direction:column; gap:8px; }
    }
    @media (max-width: 440px) {
      .reason-grid,.week-grid { grid-template-columns:1fr; }.hero-photo { min-height:330px; }
      .moment-visual { min-height:330px; }
      .gallery-item img { height:136px; }.gallery-grid { gap:8px; }.room-collage { grid-template-columns:1fr; grid-template-rows:repeat(4,322px); min-height:0; }
      .draft-tag { right:8px; bottom:8px; font-size:.68rem; }
    }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none !important; } }

/* WordPress navigation and editor defaults */
.primary-menu { list-style:none; }
.primary-menu .menu-item { margin:0; }
.alignwide { max-width:1160px; margin-left:auto; margin-right:auto; }
.entry-content img { height:auto; }
