/* ============================================================
   NHV DRESDEN – GLOBALES STYLESHEET v3
   Schriften: Nunito (Display), Open Sans (Body), Caveat (Akzent)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Open+Sans:wght@400;500;600&family=Caveat:wght@600;700&display=swap');

/* ---- TOKENS ---- */
:root {
  --rot:        #C8272E;
  --rot-d:      #A31F25;
  --rot-l:      #FDEAEA;
  --orange:     #E8630A;
  --orange-l:   #FEF2E8;
  --grad:       linear-gradient(135deg,#C8272E 0%,#E8630A 100%);

  --text:       #2C3A4A;   /* Einziger dunkler Ton für Text */
  --muted:      #7A8FA6;
  --white:      #FFFFFF;
  --cream:      #FDF9F6;   /* Haupthintergrund */
  --cream2:     #F5F0EB;   /* leichter Kontrast */
  --border:     #EAE4DC;

  --f-display:  'Nunito', sans-serif;
  --f-body:     'Open Sans', sans-serif;
  --f-hand:     'Caveat', cursive;   /* Schreibschrift-Akzent */

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill:999px;

  --sh-sm: 0 2px 12px rgba(44,58,74,.06);
  --sh-md: 0 6px 28px rgba(44,58,74,.10);
  --sh-lg: 0 14px 48px rgba(44,58,74,.13);
  --max:   1120px;
}

/* ---- RESET ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:18px;scroll-behavior:smooth}
body{font-family:var(--f-body);color:var(--text);background:var(--cream);line-height:1.72}
h1,h2,h3,h4{font-family:var(--f-display);color:var(--text);line-height:1.2}
a{color:var(--rot);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
button{cursor:pointer;font-family:inherit}

/* ---- WRAP ---- */
.wrap{max-width:var(--max);margin:0 auto;padding:0 28px}
.wrap-sm{max-width:740px;margin:0 auto;padding:0 28px}

/* ---- TYPOGRAFIE-HELFER ---- */
.hand{font-family:var(--f-hand);font-weight:700;color:var(--rot)}
.label{font-family:var(--f-display);font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--orange)}
.lead{font-size:1.12rem;color:var(--muted);line-height:1.7}

/* ---- TOPBAR ---- */
.topbar{background:var(--text);padding:9px 0}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.topbar a,.topbar span{font-size:.82rem;color:rgba(255,255,255,.6);display:flex;align-items:center;gap:6px}
.topbar a:hover{color:#fff;text-decoration:none}
.topbar svg{width:14px;height:14px;flex-shrink:0;stroke:var(--orange);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---- NAVBAR ---- */
.navbar{background:var(--white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:200;box-shadow:var(--sh-sm)}
.navbar .wrap{display:flex;align-items:center;justify-content:space-between;padding-top:13px;padding-bottom:13px;gap:16px}
.logo{display:flex;align-items:center;gap:0;text-decoration:none}
.logo img{height:48px;width:auto}
.logo:hover{text-decoration:none}

.nav-list{display:flex;align-items:center;gap:4px}
.nav-list li{position:relative}
.nav-list li>a,.nav-list li>button{font-family:var(--f-display);font-weight:700;font-size:.9rem;color:var(--text);padding:8px 14px;border-radius:var(--r-sm);display:flex;align-items:center;gap:5px;background:none;border:none;transition:background .15s,color .15s;white-space:nowrap}
.nav-list li>a:hover,.nav-list li>button:hover,.nav-list li.open>button{background:var(--rot-l);color:var(--rot);text-decoration:none}
.nav-arr{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s;flex-shrink:0}
.nav-list li.open .nav-arr{transform:rotate(180deg)}
.dropdown{display:none;position:absolute;top:calc(100%+8px);left:0;background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-lg);min-width:220px;z-index:300;padding:8px 0;overflow:hidden}
.nav-list li.open .dropdown{display:block}
.dropdown a{display:block;padding:10px 20px;font-size:.88rem;color:var(--text);transition:background .12s,color .12s}
.dropdown a:hover{background:var(--rot-l);color:var(--rot);text-decoration:none}
.nav-cta{background:var(--grad)!important;color:#fff!important;border-radius:var(--r-pill)!important;padding:9px 22px!important;transition:opacity .15s,transform .12s!important}
.nav-cta:hover{opacity:.88;transform:translateY(-1px);color:#fff!important;text-decoration:none!important}

/* ---- MOBILE NAV TOGGLE ---- */
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;padding:4px}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--text);border-radius:2px;transition:all .2s}
@media(max-width:860px){
  .nav-toggle{display:flex}
  .nav-list{display:none;position:absolute;top:100%;left:0;right:0;background:var(--white);border-bottom:1px solid var(--border);flex-direction:column;align-items:stretch;padding:12px 0;box-shadow:var(--sh-md);gap:0}
  .nav-list.open{display:flex}
  .nav-list li>a,.nav-list li>button{border-radius:0;padding:12px 24px;font-size:1rem}
  .dropdown{position:static;box-shadow:none;border:none;border-radius:0;border-top:1px solid var(--border);padding:0}
  .dropdown a{padding-left:36px;font-size:.95rem}
  .nav-list li.open .dropdown{display:block}
}

/* ---- BREADCRUMB ---- */
.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:.82rem;color:var(--muted);margin-bottom:20px}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:var(--rot);text-decoration:none}
.bc-sep{color:var(--border)}

/* ---- PAGE INTRO (Unterseiten-Header) ---- */
.page-intro{padding:56px 0 52px;background:var(--white)}
.page-intro h1{font-size:2.4rem;font-weight:800;margin:8px 0 16px}
.page-intro .lead{max-width:560px}

/* ---- SECTIONS ---- */
section{padding:68px 0}
.sec-white{background:var(--white)}
.sec-cream{background:var(--cream)}
.sec-cream2{background:var(--cream2)}

.sec-head{margin-bottom:44px}
.sec-head h2{font-size:1.85rem;font-weight:800;margin-top:8px}
.sec-head p{margin-top:10px;color:var(--muted);font-size:1rem;max-width:580px}

/* ---- BUTTONS ---- */
.btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--f-display);font-weight:700;font-size:.95rem;border-radius:var(--r-pill);padding:12px 28px;border:none;transition:all .18s;text-decoration:none}
.btn:hover{transform:translateY(-1px);text-decoration:none}
.btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.btn-primary{background:var(--grad);color:#fff}
.btn-primary:hover{opacity:.88;color:#fff}
.btn-outline{background:var(--white);color:var(--rot);border:2px solid var(--rot)}
.btn-outline:hover{background:var(--rot);color:#fff}
.btn-soft{background:var(--rot-l);color:var(--rot)}
.btn-soft:hover{background:var(--rot);color:#fff}
.btn-white{background:var(--white);color:var(--rot)}
.btn-white:hover{background:var(--cream);color:var(--rot-d);text-decoration:none}
.btn-sm{font-size:.85rem;padding:9px 20px}
.btn-lg{font-size:1.05rem;padding:14px 34px}

/* ---- KARTEN ---- */
.card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-xl);padding:28px 26px;transition:box-shadow .2s,transform .18s}
.card:hover{box-shadow:var(--sh-md);transform:translateY(-3px)}
.card h3{font-family:var(--f-display);font-size:1.05rem;font-weight:700;margin-bottom:8px}
.card p{font-size:.9rem;color:var(--muted);line-height:1.65}

.card-icon{width:52px;height:52px;border-radius:var(--r-md);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.card-icon svg{width:24px;height:24px;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ci-rot{background:var(--rot-l)}.ci-rot svg{stroke:var(--rot)}
.ci-orange{background:var(--orange-l)}.ci-orange svg{stroke:var(--orange)}
.ci-teal{background:#E2F4F2}.ci-teal svg{stroke:#0F7A72}
.ci-blue{background:#EAF1FB}.ci-blue svg{stroke:#2B6CB0}
.ci-green{background:#EAF5E9}.ci-green svg{stroke:#276749}
.ci-purple{background:#F0EAFD}.ci-purple svg{stroke:#6B46C1}

/* Bild-Karte */
.card-photo{background:var(--white);border:1px solid var(--border);border-radius:var(--r-xl);overflow:hidden;transition:box-shadow .2s,transform .18s}
.card-photo:hover{box-shadow:var(--sh-md);transform:translateY(-3px)}
.card-photo img{width:100%;height:200px;object-fit:cover}
.card-photo .ph{width:100%;height:200px;display:flex;align-items:center;justify-content:center}
.card-photo .ph svg{width:44px;height:44px;stroke:var(--muted);fill:none;stroke-width:1.5;opacity:.5;stroke-linecap:round;stroke-linejoin:round}
.card-photo-body{padding:22px}
.card-photo-body .lbl{font-size:.75rem;font-family:var(--f-display);font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--orange);margin-bottom:6px}
.card-photo-body h3{font-family:var(--f-display);font-size:1rem;font-weight:700;margin-bottom:7px}
.card-photo-body p{font-size:.88rem;color:var(--muted);line-height:1.6;margin-bottom:14px}
.read-more{font-family:var(--f-display);font-weight:700;font-size:.86rem;color:var(--rot);display:inline-flex;align-items:center;gap:4px}
.read-more svg{width:14px;height:14px;stroke:var(--rot);fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.card-photo:hover .read-more svg{transform:translateX(4px)}

/* ---- GRIDS ---- */
.g2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.ga{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}

/* ---- VERANSTALTUNGS-ITEM ---- */
.event-row{display:flex;gap:18px;align-items:flex-start;padding:20px 0;border-bottom:1px solid var(--border)}
.event-row:last-child{border-bottom:none}
.ev-date{flex-shrink:0;width:60px;text-align:center;background:var(--grad);border-radius:var(--r-md);padding:8px 4px;color:#fff;font-family:var(--f-display)}
.ev-date .d{font-size:1.6rem;font-weight:800;line-height:1;display:block}
.ev-date .m{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.85}
.ev-info{flex:1}
.ev-info h3{font-family:var(--f-display);font-size:1rem;font-weight:700;margin-bottom:5px}
.ev-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:.83rem;color:var(--muted)}
.ev-meta span{display:flex;align-items:center;gap:4px}
.ev-meta svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ev-badge{flex-shrink:0;align-self:flex-start;margin-top:2px}
.badge{display:inline-block;font-family:var(--f-display);font-weight:700;font-size:.75rem;padding:4px 12px;border-radius:var(--r-pill)}
.badge-orange{background:var(--orange-l);color:var(--orange)}
.badge-rot{background:var(--rot-l);color:var(--rot)}
.badge-teal{background:#E2F4F2;color:#0F7A72}
.badge-blue{background:#EAF1FB;color:#2B6CB0}

/* ---- INFOBOX ---- */
.infobox{background:var(--rot-l);border-left:4px solid var(--rot);border-radius:0 var(--r-md) var(--r-md) 0;padding:14px 20px;font-size:.92rem}
.infobox strong{color:var(--rot)}

/* ---- ÖFFNUNGSZEITEN ---- */
.oh-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-xl);padding:24px}
.oh-card h4{font-family:var(--f-display);font-size:.9rem;font-weight:700;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.oh-card h4 svg{width:16px;height:16px;stroke:var(--orange);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.oh-row{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid var(--border);font-size:.9rem}
.oh-row:last-child{border-bottom:none}
.oh-day{color:var(--muted)}
.oh-time{font-family:var(--f-display);font-weight:700;font-size:.88rem}

/* ---- KONTAKT-BOX SIDEBAR ---- */
.contact-box{background:var(--cream2);border-radius:var(--r-xl);padding:26px 24px}
.contact-box h4{font-family:var(--f-display);font-size:.95rem;font-weight:700;margin-bottom:16px}
.ci-row{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px}
.ci-ico{width:34px;height:34px;border-radius:var(--r-sm);background:var(--rot-l);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ci-ico svg{width:16px;height:16px;stroke:var(--rot);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ci-lbl{font-family:var(--f-display);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.ci-val{font-size:.9rem;margin-top:1px}
.ci-val a{color:var(--rot)}

/* ---- SIDEBAR LAYOUT ---- */
.sidebar-layout{display:grid;grid-template-columns:1fr 290px;gap:44px;align-items:start}
.sidebar-widget{margin-bottom:16px}
.sidebar-widget h4{font-family:var(--f-display);font-size:.88rem;font-weight:700;border-bottom:1px solid var(--border);padding-bottom:10px;margin-bottom:12px}
.sidebar-nav li a{display:flex;align-items:center;justify-content:space-between;padding:8px 0;font-size:.9rem;color:var(--text);border-bottom:1px solid var(--border)}
.sidebar-nav li:last-child a{border-bottom:none}
.sidebar-nav li a:hover{color:var(--rot);text-decoration:none}
.sidebar-nav svg{width:13px;height:13px;stroke:var(--muted);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---- MONATSPLAN BANNER ---- */
.mp-strip{background:var(--grad);padding:56px 0}
.mp-strip .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.mp-strip h2{font-family:var(--f-display);font-size:1.7rem;font-weight:800;color:#fff;margin-bottom:6px}
.mp-strip p{color:rgba(255,255,255,.8)}

/* ---- GALERIE GRID ---- */
.gallery-section-title{font-family:var(--f-display);font-size:1.15rem;font-weight:700;margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid var(--border)}
.photo-masonry{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:36px}
.photo-masonry img{border-radius:var(--r-md);width:100%;height:180px;object-fit:cover;transition:opacity .2s}
.photo-masonry img:hover{opacity:.88}
.photo-masonry .ph-slot{border-radius:var(--r-md);height:180px;display:flex;align-items:center;justify-content:center}

/* ---- ARTIKEL BODY ---- */
.article-body{font-size:1rem;line-height:1.78;color:var(--text)}
.article-body p{margin-bottom:1.2em}
.article-body h2{font-size:1.4rem;margin:2em 0 .7em}
.article-body h3{font-size:1.15rem;margin:1.6em 0 .6em}
.article-body ul,.article-body ol{padding-left:1.4em;margin-bottom:1.2em}
.article-body li{margin-bottom:.4em}
.article-body img{border-radius:var(--r-lg);margin:1.6em 0;box-shadow:var(--sh-md)}
.article-body blockquote{border-left:4px solid var(--rot);padding:14px 22px;margin:1.6em 0;background:var(--rot-l);border-radius:0 var(--r-md) var(--r-md) 0;font-style:italic;color:var(--text)}

/* ---- HERO WAVE DIVIDER ---- */
.wave-divider{display:block;width:100%;overflow:hidden;line-height:0}
.wave-divider svg{display:block;width:100%}

/* ---- FORM ---- */
.form-group{margin-bottom:18px}
.form-group label{display:block;font-family:var(--f-display);font-size:.85rem;font-weight:700;margin-bottom:6px}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:13px 15px;border:1.5px solid var(--border);border-radius:var(--r-sm);font-family:var(--f-body);font-size:.95rem;color:var(--text);background:var(--white);transition:border-color .15s}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--rot);background:var(--white)}
.form-group textarea{min-height:130px;resize:vertical}

/* ---- PARTNER LOGOS ---- */
.partner-strip{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.partner-pill{background:var(--white);border:1px solid var(--border);border-radius:var(--r-sm);padding:8px 16px;font-family:var(--f-display);font-size:.8rem;font-weight:600;color:var(--muted)}

/* ---- CHECKLIST ---- */
.check-list li{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px;font-size:.95rem}
.check-list .chk{width:20px;height:20px;border-radius:50%;background:var(--rot-l);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px}
.check-list .chk svg{width:11px;height:11px;stroke:var(--rot);fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}

/* ---- FUSSZEILE ---- */
footer{background:var(--text);color:rgba(255,255,255,.55);padding:52px 0 24px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.footer-brand h3{font-family:var(--f-display);font-size:1rem;font-weight:800;color:#fff;margin-bottom:10px}
.footer-brand p{font-size:.84rem;line-height:1.65;margin-bottom:14px}
.footer-contact{font-size:.84rem;margin-bottom:8px;display:flex;align-items:flex-start;gap:8px}
.footer-contact svg{width:14px;height:14px;flex-shrink:0;margin-top:3px;stroke:var(--orange);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.footer-contact a{color:rgba(255,255,255,.5)}
.footer-contact a:hover{color:var(--orange);text-decoration:none}
.footer-col h4{font-family:var(--f-display);font-size:.85rem;font-weight:700;color:#fff;margin-bottom:12px}
.footer-col li{margin-bottom:6px}
.footer-col a{font-size:.84rem;color:rgba(255,255,255,.45);transition:color .15s}
.footer-col a:hover{color:var(--orange);text-decoration:none}
.footer-hours{font-size:.84rem;line-height:1.7}
.footer-hours strong{color:rgba(255,255,255,.8)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:20px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;font-size:.79rem}
.footer-bottom a{color:rgba(255,255,255,.4)}
.footer-bottom a:hover{color:var(--orange);text-decoration:none}
.footer-links{display:flex;gap:14px;flex-wrap:wrap}

/* ---- RESPONSIVE ---- */
@media(max-width:900px){
  html{font-size:17px}
  .sidebar-layout{grid-template-columns:1fr}
  .g3,.g4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .photo-masonry{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  html{font-size:16px}
  .g2,.g3,.g4,.ga{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .photo-masonry{grid-template-columns:repeat(2,1fr)}
  .mp-strip .wrap{flex-direction:column;text-align:center}
  section{padding:48px 0}
}
