/*
Theme Name: NordNah
Theme URI: https://nordnah.de
Author: NordNah
Description: Maßgeschneidertes WordPress-Theme für NordNah – Videoproduktion aus Schleswig-Holstein.
Version: 1.2.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: nordnah
*/

:root {
  --nn-navy: #07182d;
  --nn-navy-2: #0d2b4d;
  --nn-navy-3: #04101f;
  --nn-cream: #ead9c2;
  --nn-offwhite: #f6f2eb;
  --nn-white: #ffffff;
  --nn-ink: #111827;
  --nn-muted: #687183;
  --nn-line: rgba(7, 24, 45, .14);
  --nn-shadow: 0 24px 80px rgba(3, 13, 26, .16);
  --nn-radius: 24px;
  --nn-wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--nn-ink);
  background: var(--nn-offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
iframe { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.nn-wrap { width: min(var(--nn-wrap), calc(100% - 48px)); margin-inline: auto; }
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.screen-reader-text:focus { width:auto; height:auto; clip:auto; margin:0; padding:12px 16px; top:10px; left:10px; background:#fff; z-index:9999; }

.nn-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(7, 24, 45, .84);
  border-bottom: 1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.admin-bar .nn-site-header { top: 32px; }
.nn-header-inner { min-height: 76px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.nn-brand { display:inline-flex; align-items:center; gap:12px; color:#fff; text-decoration:none; flex:0 0 auto; }
.nn-brand img { width:46px; height:46px; object-fit:cover; border-radius:50%; }
.nn-brand-mark { width:46px; height:46px; border:1px solid var(--nn-cream); border-radius:50%; display:grid; place-items:center; font-size:.76rem; letter-spacing:.15em; color:var(--nn-cream); }
.nn-brand-copy strong { display:block; font-family:Georgia, "Times New Roman", serif; font-size:1.23rem; font-weight:400; line-height:1; letter-spacing:.02em; }
.nn-brand-copy small { display:block; margin-top:5px; font-size:.54rem; text-transform:uppercase; letter-spacing:.23em; color:rgba(255,255,255,.58); }
.nn-nav { display:flex; align-items:center; gap:25px; }
.nn-nav ul { list-style:none; display:flex; align-items:center; gap:25px; padding:0; margin:0; }
.nn-nav a { color:rgba(255,255,255,.76); text-decoration:none; font-size:.91rem; transition:.2s ease; }
.nn-nav a:hover, .nn-nav .current-menu-item > a { color:#fff; }
.nn-nav .menu-item-contact > a, .nn-nav .nn-nav-cta { color:var(--nn-navy); background:var(--nn-cream); padding:10px 16px; border-radius:999px; font-weight:800; }
.nn-menu-toggle { display:none; background:transparent; color:#fff; border:1px solid rgba(255,255,255,.25); padding:8px 14px; border-radius:999px; cursor:pointer; }

.nn-hero {
  min-height: 100svh;
  position:relative;
  overflow:hidden;
  display:grid;
  align-items:center;
  padding:clamp(120px, 13vh, 150px) 0 clamp(68px, 8vh, 92px);
  color:#fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(64,111,159,.26), transparent 34%),
    radial-gradient(circle at 18% 90%, rgba(234,217,194,.08), transparent 28%),
    linear-gradient(135deg, #061528 0%, var(--nn-navy) 58%, var(--nn-navy-2) 100%);
}
.nn-hero-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr); align-items:center; gap:clamp(38px,4vw,70px); position:relative; z-index:2; }
.nn-hero-copy { min-width:0; }
.nn-eyebrow { margin:0 0 16px; color:var(--nn-cream); font-size:.76rem; letter-spacing:.18em; text-transform:uppercase; font-weight:800; }
.nn-eyebrow-dark { color:#8b6d4a; }
.nn-hero h1, .nn-section h2, .nn-page-hero h1, .nn-cta h2, .nn-project-title { font-family:Georgia, "Times New Roman", serif; font-weight:400; letter-spacing:-.035em; line-height:1.03; overflow-wrap:break-word; }
.nn-hero h1 { max-width:760px; font-size:clamp(3.35rem, 5.15vw, 5.45rem); margin:0 0 24px; }
.nn-hero h1 em { color:var(--nn-cream); font-style:normal; }
.nn-hero-text { max-width:630px; margin:0; color:rgba(255,255,255,.72); font-size:clamp(1.02rem, 1.3vw, 1.18rem); }
.nn-actions { display:flex; flex-wrap:wrap; gap:13px; margin:32px 0 22px; }
.nn-button { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 22px; border-radius:999px; text-decoration:none; font-weight:800; font-size:.94rem; border:0; cursor:pointer; transition:transform .2s ease, box-shadow .2s ease, background .2s ease; }
.nn-button:hover { transform:translateY(-2px); }
.nn-button-primary { color:var(--nn-navy); background:var(--nn-cream); box-shadow:0 14px 35px rgba(234,217,194,.15); }
.nn-button-secondary { color:#fff; border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.04); }
.nn-button-dark { color:#fff; background:var(--nn-navy); }
.nn-microcopy { margin:0; color:rgba(255,255,255,.48); font-size:.84rem; }
.nn-hero-logo { justify-self:end; width:min(100%, 470px); filter:drop-shadow(0 30px 64px rgba(0,0,0,.26)); }
.nn-hero-logo img { width:100%; border-radius:36px; }
.nn-logo-placeholder { aspect-ratio:1; border-radius:36px; background:linear-gradient(145deg,#061528,#0d2b4d); display:grid; place-items:center; border:1px solid rgba(255,255,255,.08); }
.nn-logo-placeholder-inner { text-align:center; color:var(--nn-cream); }
.nn-logo-placeholder-inner .circle { width:150px; height:150px; border:2px solid currentColor; border-radius:50%; margin:0 auto 30px; display:grid; place-items:center; font-size:2rem; letter-spacing:.25em; }
.nn-logo-placeholder-inner strong { display:block; font-family:Georgia, "Times New Roman", serif; font-size:3rem; font-weight:400; }
.nn-logo-placeholder-inner small { letter-spacing:.3em; font-size:.7rem; }

.nn-statement { background:var(--nn-cream); color:var(--nn-navy); }
.nn-statement-inner { min-height:108px; display:flex; align-items:center; justify-content:center; gap:24px; font-family:Georgia, "Times New Roman", serif; font-size:clamp(1.8rem,3.3vw,3.25rem); }
.nn-statement-inner p { margin:0; }
.nn-statement-inner span { width:56px; height:1px; background:currentColor; opacity:.4; }

.nn-section { padding:clamp(88px,8vw,118px) 0; }
.nn-section-light { background:var(--nn-offwhite); }
.nn-section-white { background:#fff; }
.nn-section-dark { background:var(--nn-navy); color:#fff; }
.nn-section-heading { max-width:780px; margin-bottom:54px; }
.nn-section-heading h2 { font-size:clamp(2.65rem,4.45vw,4.75rem); margin:0 0 24px; }
.nn-section-heading > p:last-child { max-width:650px; color:var(--nn-muted); font-size:1.08rem; }
.nn-section-dark .nn-section-heading > p:last-child { color:rgba(255,255,255,.62); }

.nn-service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.nn-service-card { position:relative; min-height:275px; padding:34px; background:#fff; border:1px solid var(--nn-line); border-radius:var(--nn-radius); transition:transform .25s ease, box-shadow .25s ease; }
.nn-service-card:hover { transform:translateY(-5px); box-shadow:var(--nn-shadow); }
.nn-service-number { display:inline-block; margin-bottom:70px; color:#9b7b56; font-size:.78rem; letter-spacing:.12em; font-weight:800; }
.nn-service-card h3 { font-family:Georgia, "Times New Roman", serif; font-weight:400; font-size:2rem; margin:0 0 12px; }
.nn-service-card p { margin:0; color:var(--nn-muted); max-width:480px; }

.nn-process-grid { display:grid; grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr); gap:80px; align-items:start; }
.nn-process-list { list-style:none; padding:0; margin:0; }
.nn-process-list li { display:grid; grid-template-columns:58px 1fr; gap:24px; padding:30px 0; border-top:1px solid rgba(255,255,255,.14); }
.nn-process-list li:last-child { border-bottom:1px solid rgba(255,255,255,.14); }
.nn-process-list > li > span { color:var(--nn-cream); font-size:.8rem; letter-spacing:.14em; font-weight:800; }
.nn-process-list h3 { font-family:Georgia,"Times New Roman",serif; font-weight:400; font-size:2rem; margin:0 0 8px; }
.nn-process-list p { color:rgba(255,255,255,.6); margin:0; max-width:560px; }

.nn-projects-head { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:44px; }
.nn-project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.nn-project-card { text-decoration:none; color:var(--nn-ink); min-width:0; }
.nn-project-media { position:relative; aspect-ratio:4/3; overflow:hidden; background:linear-gradient(135deg,#16375b,#07182d); margin-bottom:15px; }
.nn-project-media img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.nn-project-card:hover .nn-project-media img { transform:scale(1.035); }
.nn-project-play { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); width:50px; height:50px; border-radius:50%; display:grid; place-items:center; color:#fff; background:rgba(7,24,45,.78); border:1px solid rgba(255,255,255,.3); }
.nn-project-card h3 { font-size:1rem; margin:0; overflow-wrap:anywhere; }
.nn-project-location { margin:2px 0 0; color:var(--nn-muted); font-size:.9rem; }
.nn-empty-projects { padding:48px; border:1px solid var(--nn-line); border-radius:var(--nn-radius); background:#fff; text-align:center; }

.nn-about-strip { display:grid; grid-template-columns:1fr 1fr; min-height:520px; }
.nn-about-copy { background:var(--nn-navy); color:#fff; padding:clamp(45px,7vw,100px); display:flex; flex-direction:column; justify-content:center; }
.nn-about-copy h2 { font-family:Georgia,"Times New Roman",serif; font-size:clamp(2.65rem,4.35vw,4.75rem); font-weight:400; line-height:1.04; margin:0 0 24px; }
.nn-about-copy p { color:rgba(255,255,255,.66); max-width:600px; margin:0 0 1em; }
.nn-about-text p:last-child { margin-bottom:0; }
.nn-about-visual { background:
  linear-gradient(rgba(7,24,45,.22),rgba(7,24,45,.22)),
  radial-gradient(circle at 30% 30%,rgba(234,217,194,.5),transparent 25%),
  linear-gradient(135deg,#9aa9b6,#344d65 55%,#0b233f); position:relative; overflow:hidden; }
.nn-about-visual::after { content:"SCHLESWIG-HOLSTEIN"; position:absolute; inset:auto 40px 35px; color:rgba(255,255,255,.7); font-size:.72rem; letter-spacing:.28em; }

.nn-cta { background:var(--nn-cream); padding:clamp(84px,8vw,108px) 0; color:var(--nn-navy); text-align:center; }
.nn-cta h2 { max-width:940px; margin:0 auto 35px; font-size:clamp(2.8rem,5.15vw,5.25rem); }

.nn-page-hero { padding:clamp(140px,13vw,165px) 0 75px; color:#fff; background:linear-gradient(135deg,#061528,var(--nn-navy-2)); }
.nn-page-hero h1 { font-size:clamp(3.1rem,5.75vw,5.8rem); margin:0 0 18px; }
.nn-page-hero p { max-width:650px; color:rgba(255,255,255,.66); font-size:1.1rem; }

.nn-content { padding:85px 0 110px; }
.nn-content-inner { max-width:860px; }
.nn-content h2, .nn-content h3 { font-family:Georgia,"Times New Roman",serif; color:var(--nn-navy); font-weight:400; }
.nn-content h2 { font-size:2.2rem; margin-top:45px; }
.nn-content a { color:#8b6d4a; }
.nn-content .wp-block-image img { border-radius:var(--nn-radius); }

.nn-service-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.nn-service-detail { border:1px solid var(--nn-line); padding:34px; background:#fff; }
.nn-service-detail h2 { font-size:2rem; margin-top:0; }
.nn-steps { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:18px; margin-top:35px; }
.nn-step { border-top:1px solid var(--nn-line); padding-top:18px; min-width:0; }
.nn-step span { display:inline-grid; place-items:center; width:38px; height:38px; border-radius:50%; background:var(--nn-navy); color:#fff; font-size:.75rem; margin-bottom:20px; }
.nn-step h3 { font-size:1rem; }
.nn-step p { color:var(--nn-muted); font-size:.9rem; }

.nn-contact-grid { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:70px; align-items:start; }
.nn-contact-list { list-style:none; padding:0; margin:30px 0 0; }
.nn-contact-list li { margin-bottom:14px; overflow-wrap:anywhere; }
.nn-contact-list a { text-decoration:none; color:#fff; }
.nn-contact-form { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); padding:34px; }
.nn-field { margin-bottom:18px; }
.nn-field label { display:block; margin-bottom:7px; color:rgba(255,255,255,.72); font-size:.86rem; }
.nn-field input, .nn-field textarea { width:100%; color:#fff; background:rgba(255,255,255,.04); border:0; border-bottom:1px solid rgba(255,255,255,.25); padding:12px 4px; outline:none; }
.nn-field textarea { min-height:145px; resize:vertical; border:1px solid rgba(255,255,255,.18); padding:12px; }
.nn-field input:focus, .nn-field textarea:focus { border-color:var(--nn-cream); }
.nn-notice { margin-bottom:20px; padding:14px 16px; border-radius:12px; }
.nn-notice-success { background:#dff4e6; color:#16592d; }
.nn-notice-error { background:#fee2e2; color:#8b1d1d; }
.nn-hp { position:absolute !important; left:-9999px !important; }

.nn-single-project { padding:150px 0 100px; }
.nn-project-title { font-size:clamp(3rem,6vw,5.8rem); margin:0 0 14px; color:var(--nn-navy); }
.nn-project-meta { color:var(--nn-muted); margin-bottom:40px; }
.nn-project-featured { margin-bottom:45px; }
.nn-project-featured img { width:100%; max-height:720px; object-fit:cover; }
.nn-video-embed { margin:40px 0; aspect-ratio:16/9; }
.nn-video-embed iframe { width:100%; height:100%; border:0; }

.nn-site-footer { background:var(--nn-navy-3); color:#fff; padding:52px 0 34px; }
.nn-footer-grid { display:grid; grid-template-columns:1fr auto; gap:30px; align-items:start; }
.nn-site-footer strong { font-family:Georgia,"Times New Roman",serif; font-size:1.7rem; font-weight:400; }
.nn-site-footer p { color:rgba(255,255,255,.5); margin:5px 0 0; }
.nn-footer-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:20px; }
.nn-footer-links a { color:rgba(255,255,255,.7); text-decoration:none; font-size:.9rem; }
.nn-footer-bottom { grid-column:1/-1; margin-top:24px; padding-top:24px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; gap:20px; color:rgba(255,255,255,.42); font-size:.82rem; }

.nn-reveal { opacity:0; transform:translateY(20px); transition:opacity .7s ease,transform .7s ease; }
.nn-reveal.is-visible { opacity:1; transform:none; }

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .nn-reveal { opacity:1; transform:none; transition:none; }
  * { animation:none !important; transition:none !important; }
}

@media (max-width: 1120px) {
  .nn-hero-grid { grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr); gap:38px; }
  .nn-hero h1 { font-size:clamp(3.25rem,5.7vw,4.9rem); }
  .nn-hero-logo { width:min(100%,420px); }
  .nn-process-grid { gap:54px; }
  .nn-steps { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width: 950px) {
  .nn-menu-toggle { display:inline-block; }
  .nn-nav { position:absolute; top:68px; left:24px; right:24px; display:none; padding:18px; border-radius:18px; background:rgba(4,16,31,.98); box-shadow:var(--nn-shadow); }
  .nn-nav.is-open { display:block; }
  .nn-nav ul { display:flex; flex-direction:column; align-items:stretch; gap:4px; }
  .nn-nav a { display:block; padding:11px 12px; }
  .nn-nav .menu-item-contact > a, .nn-nav .nn-nav-cta { text-align:center; margin-top:4px; }
  .nn-hero { min-height:auto; padding-top:126px; }
  .nn-hero-grid { grid-template-columns:1fr; gap:44px; }
  .nn-hero-logo { justify-self:center; width:min(64vw,390px); }
  .nn-hero-copy { max-width:760px; }
  .nn-hero h1 { max-width:720px; font-size:clamp(3.25rem,8.2vw,5rem); }
  .nn-process-grid, .nn-contact-grid { grid-template-columns:1fr; gap:35px; }
  .nn-project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nn-about-strip { grid-template-columns:1fr; }
  .nn-about-visual { min-height:380px; }
  .nn-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 782px) {
  .admin-bar .nn-site-header { top:46px; }
}

@media (max-width: 680px) {
  .nn-wrap { width:min(100% - 28px,var(--nn-wrap)); }
  .nn-header-inner { min-height:68px; }
  .nn-brand img, .nn-brand-mark { width:42px; height:42px; }
  .nn-brand-copy strong { font-size:1.13rem; }
  .nn-brand-copy small { display:none; }
  .nn-nav { top:61px; left:14px; right:14px; }
  .nn-hero { padding:108px 0 64px; }
  .nn-hero-grid { gap:34px; }
  .nn-hero h1 { max-width:100%; font-size:clamp(2.7rem,11.3vw,3.7rem); line-height:1.01; margin-bottom:20px; }
  .nn-hero-text { font-size:1rem; line-height:1.6; }
  .nn-actions { flex-direction:column; margin:28px 0 20px; }
  .nn-button { width:100%; min-height:50px; }
  .nn-hero-logo { width:min(74vw,300px); margin-top:2px; }
  .nn-hero-logo img, .nn-logo-placeholder { border-radius:26px; }
  .nn-microcopy { font-size:.78rem; line-height:1.5; }
  .nn-statement-inner { min-height:84px; gap:13px; font-size:clamp(1.55rem,8vw,2.25rem); }
  .nn-statement-inner span { width:24px; }
  .nn-section { padding:76px 0; }
  .nn-section-heading { margin-bottom:38px; }
  .nn-section-heading h2 { font-size:clamp(2.35rem,10vw,3.45rem); margin-bottom:18px; }
  .nn-service-grid, .nn-service-detail-grid, .nn-project-grid { grid-template-columns:1fr; }
  .nn-service-card { min-height:230px; padding:26px; }
  .nn-service-number { margin-bottom:38px; }
  .nn-service-card h3, .nn-process-list h3 { font-size:1.75rem; }
  .nn-process-list li { grid-template-columns:42px 1fr; gap:14px; padding:24px 0; }
  .nn-projects-head { display:block; }
  .nn-projects-head .nn-button { margin-top:15px; }
  .nn-empty-projects { padding:32px 22px; }
  .nn-about-copy { padding:66px 22px; }
  .nn-about-copy h2 { font-size:clamp(2.35rem,10vw,3.45rem); }
  .nn-about-visual { min-height:290px; }
  .nn-about-visual::after { inset:auto 20px 22px; font-size:.62rem; letter-spacing:.2em; }
  .nn-cta h2 { font-size:clamp(2.45rem,11vw,3.7rem); }
  .nn-page-hero { padding:122px 0 62px; }
  .nn-page-hero h1 { font-size:clamp(2.8rem,12vw,4rem); }
  .nn-content { padding:66px 0 84px; }
  .nn-content h2 { font-size:1.95rem; }
  .nn-service-detail { padding:27px; }
  .nn-steps { grid-template-columns:1fr; }
  .nn-contact-form { padding:24px 20px; }
  .nn-single-project { padding:122px 0 78px; }
  .nn-project-title { font-size:clamp(2.65rem,12vw,4rem); }
  .nn-footer-grid { grid-template-columns:1fr; }
  .nn-footer-links { justify-content:flex-start; }
  .nn-footer-bottom { flex-direction:column; }
}

@media (max-width: 390px) {
  .nn-brand-copy strong { font-size:1.04rem; }
  .nn-menu-toggle { padding:7px 11px; }
  .nn-hero h1 { font-size:clamp(2.48rem,11.8vw,3.2rem); }
  .nn-hero-logo { width:min(78vw,280px); }
}

@media (max-height: 760px) and (min-width: 951px) {
  .nn-hero { min-height:auto; padding-top:118px; padding-bottom:62px; }
  .nn-hero h1 { font-size:clamp(3.15rem,5vw,4.85rem); }
  .nn-hero-logo { width:min(100%,420px); }
}


/* Rechtstexte und Formularhinweis */
.nn-legal h2 { margin-top:2.2em; margin-bottom:.55em; }
.nn-legal h2:first-of-type { margin-top:0; }
.nn-legal p, .nn-legal li { line-height:1.75; }
.nn-legal a { overflow-wrap:anywhere; }
.nn-form-privacy { margin:16px 0 0; color:rgba(255,255,255,.62); font-size:.82rem; line-height:1.55; }
.nn-form-privacy a { color:var(--nn-cream); }
