/* ============================================================
   LOKALE FONTS – Dateien in css/fonts/ ablegen
   Originaldateinamen aus dem Google Fonts ZIP:

   Cormorant Garamond:
     CormorantGaramond-Light.ttf          → 300 normal
     CormorantGaramond-LightItalic.ttf   → 300 italic
     CormorantGaramond-SemiBold.ttf      → 600 normal
     CormorantGaramond-SemiBoldItalic.ttf→ 600 italic

   DM Mono:
     DMMono-Light.ttf                     → 300 normal
     DMMono-Regular.ttf                   → 400 normal
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'DM Mono';
  src: url('fonts/DMMono-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Mono';
  src: url('fonts/DMMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


    /* ── Root & Reset ───────────────────────────────────── */
    :root {
      --bg:        #0e0d0b;
      --bg-alt:    #141310;
      --amber:     #c8883a;
      --amber-lt:  #e8a855;
      --cream:     #f0e8d8;
      --muted:     #a09888;
      --line:      rgba(200,136,58,.25);

      --serif:     'Cormorant Garamond', Georgia, serif;
      --mono:      'DM Mono', monospace;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--cream);
      font-family: var(--serif);
      font-weight: 300;
      font-size: 18px;
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* ── Noise texture overlay ──────────────────────────── */
    body::before {
      content: '';
      position: fixed; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
      opacity: .03;
      pointer-events: none;
      z-index: 9999;
    }

    /* ── Typography helpers ─────────────────────────────── */
    .display {
      font-family: var(--serif);
      font-weight: 600;
      line-height: 1.05;
      letter-spacing: -.01em;
      color: #f5efe3;
    }

    .label {
      font-family: var(--mono);
      font-size: .72rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--amber);
    }

    h1, h2, h3 { color: #f5efe3; }
    em { font-style: italic; color: var(--amber-lt); }

    /* ── Navigation ─────────────────────────────────────── */
    #nav {
      position: fixed; top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.25rem 2.5rem;
      display: flex; align-items: center; justify-content: space-between;
      border-bottom: 1px solid transparent;
      transition: background .4s, border-color .4s;
    }

    #nav.scrolled {
      background: rgba(14,13,11,.92);
      backdrop-filter: blur(12px);
      border-color: var(--line);
    }

    .nav-logo {
      font-family: var(--serif);
      font-size: 1.15rem;
      font-weight: 600;
      letter-spacing: .04em;
      color: var(--cream);
      text-decoration: none;
    }

    .nav-links {
      display: flex; gap: 2.2rem;
      list-style: none;
    }

    .nav-links a {
      font-family: var(--mono);
      font-size: .72rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: rgba(240,232,216,.65);
      text-decoration: none;
      transition: color .2s;
    }

    .nav-links a:hover { color: var(--cream); }

    /* ── Hero ───────────────────────────────────────────── */
    #hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      position: relative;
      overflow: hidden;
    }

    .hero-visual {
      position: relative;
      overflow: hidden;
    }

    .hero-photo {
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
      filter: brightness(.55) saturate(.8);
      transition: transform 8s ease;
    }

    #hero:hover .hero-photo { transform: scale(1.03); }

    .hero-photo-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to right, rgba(14,13,11,.55) 0%, rgba(14,13,11,.1) 100%),
                  linear-gradient(to top,   rgba(14,13,11,.7)  0%, transparent 50%);
      pointer-events: none;
    }

    /* ── Photo strip ────────────────────────────────────── */
    .photo-strip {
      display: grid;
      grid-template-columns: 1fr 1.2fr 1fr;
      height: 400px;
      gap: 3px;
      background: #000;
    }

    .photo-strip-item {
      position: relative;
      overflow: hidden;
    }

    .photo-strip-item img {
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center center;
      display: block;
      filter: brightness(.7) saturate(.75);
      transition: transform .6s ease, filter .6s ease;
    }

    .photo-strip-item:hover img {
      transform: scale(1.06);
      filter: brightness(.85) saturate(1);
    }

    .photo-strip-overlay {
      position: absolute; inset: 0;
      display: flex; align-items: flex-end; justify-content: flex-start;
      padding: 1.5rem 1.8rem;
      background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 55%);
      opacity: 0;
      transition: opacity .3s;
    }

    .photo-strip-item:hover .photo-strip-overlay { opacity: 1; }

    .photo-strip-overlay span {
      font-family: var(--mono);
      font-size: .7rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--amber-lt);
    }

    @media (max-width: 768px) {
      .photo-strip { grid-template-columns: 1fr; height: auto; }
      .photo-strip-item { height: 260px; }
    }

    /* ── Hero visual (mobile override) ──────────────────── */
    @media (max-width: 768px) {
      .hero-visual { height: 50vh; }
    }

    .hero-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 9rem 5rem 5rem 5rem;
    }

    .hero-text .label { margin-bottom: 2rem; }

    .hero-title {
      font-size: clamp(3rem, 5.5vw, 5.5rem);
      margin-bottom: 1.5rem;
    }

    .hero-sub {
      font-size: 1.2rem;
      color: rgba(240,232,216,.85);
      max-width: 38ch;
      margin-bottom: 3rem;
    }

    .hero-cta {
      display: inline-flex; align-items: center; gap: .75rem;
      background: var(--amber);
      color: var(--bg);
      font-family: var(--mono);
      font-size: .78rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      text-decoration: none;
      padding: .9rem 2.2rem;
      border: none;
      cursor: pointer;
      transition: background .2s, gap .2s;
      width: fit-content;
    }

    .hero-cta:hover { background: var(--amber-lt); gap: 1.1rem; }

    .hero-scroll {
      position: absolute;
      bottom: 2.5rem; left: 50%;
      transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: .6rem;
    }

    .hero-scroll span {
      font-family: var(--mono);
      font-size: .65rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .scroll-line {
      width: 1px; height: 48px;
      background: linear-gradient(to bottom, var(--amber), transparent);
      animation: scrollPulse 1.8s ease-in-out infinite;
    }

    @keyframes scrollPulse {
      0%, 100% { opacity: .3; transform: scaleY(.8); }
      50%       { opacity: 1;  transform: scaleY(1); }
    }

    /* ── Section base ───────────────────────────────────── */
    section { padding: 7rem 2.5rem; }

    .section-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    .section-header {
      margin-bottom: 4rem;
    }

    .section-header h2 {
      font-size: clamp(2.2rem, 4vw, 3.6rem);
      line-height: 1.1;
      color: var(--cream);
    }

    hr.amber-rule {
      border: none;
      border-top: 1px solid var(--line);
      margin: 1.5rem 0 0;
      width: 80px;
    }

    /* ── About ──────────────────────────────────────────── */
    #about { background: var(--bg-alt); }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }

    .about-photo {
      aspect-ratio: 3/4;
      background: #1c1a17;
      position: relative;
      overflow: hidden;
    }

    .about-photo img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
    }

    .photo-placeholder {
      width: 100%; height: 100%;
      display: flex; align-items: center; justify-content: center;
      flex-direction: column; gap: 1rem;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .7rem;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .about-photo::after {
      content: '';
      position: absolute; inset: 0;
      border: 1px solid var(--line);
      transform: translate(10px, 10px);
      pointer-events: none;
    }

    .about-text .label { margin-bottom: 1.5rem; }
    .about-text h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1.5rem; }
    .about-text p { color: rgba(240,232,216,.85); margin-bottom: 1.2rem; }

    .stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 2.5rem;
      padding-top: 2.5rem;
      border-top: 1px solid var(--line);
    }

    .stat-num {
      font-size: 2.5rem;
      font-weight: 600;
      color: var(--amber);
      line-height: 1;
    }

    .stat-label {
      font-family: var(--mono);
      font-size: .68rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: rgba(240,232,216,.75);
      margin-top: .4rem;
    }

    /* ── Angebote / Lessons ─────────────────────────────── */
    #angebote { background: var(--bg); }

    .cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5px;
      background: var(--line);
    }

    .card {
      background: var(--bg);
      padding: 2.8rem 2.2rem;
      position: relative;
      transition: background .3s;
    }

    .card:hover { background: #131210; }

    .card-icon {
      font-size: 1.8rem;
      color: var(--amber);
      margin-bottom: 1.5rem;
      display: block;
    }

    .card h3 {
      font-size: 1.5rem;
      margin-bottom: .8rem;
      color: var(--cream);
    }

    .card p {
      color: rgba(240,232,216,.85);
      font-size: .95rem;
      line-height: 1.7;
    }

    .card-tag {
      display: inline-block;
      margin-top: 1.8rem;
      font-family: var(--mono);
      font-size: .82rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--amber-lt);
      border: 1px solid rgba(200,136,58,.5);
      padding: .5rem 1rem;
    }

    /* ── Stile / Genres ─────────────────────────────────── */
    #stile { background: var(--bg-alt); }

    .genres {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-top: 3rem;
    }

    .genre-pill {
      font-family: var(--mono);
      font-size: .72rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      border: 1px solid var(--line);
      color: rgba(240,232,216,.9);
      padding: .6rem 1.4rem;
      transition: border-color .2s, color .2s;
      cursor: default;
    }

    .genre-pill:hover {
      border-color: var(--amber);
      color: var(--amber);
    }

    /* ── Ablauf ─────────────────────────────────────────── */
    #ablauf { background: var(--bg); }

    .steps {
      counter-reset: step;
      display: grid;
      gap: 0;
    }

    .step {
      display: grid;
      grid-template-columns: 3.5rem 1fr;
      gap: 2rem;
      padding: 2.2rem 0;
      border-bottom: 1px solid var(--line);
      counter-increment: step;
    }

    .step:first-child { border-top: 1px solid var(--line); }

    .step-num {
      font-family: var(--mono);
      font-size: .72rem;
      letter-spacing: .1em;
      color: var(--amber);
      padding-top: .35rem;
    }

    .step-num::before { content: "0" counter(step); }

    .step h3 { font-size: 1.25rem; margin-bottom: .4rem; color: var(--cream); }
    .step p  { color: rgba(240,232,216,.85); font-size: .95rem; }

    /* ── Kontakt ────────────────────────────────────────── */
    #kontakt {
      background: linear-gradient(160deg, #131007 0%, var(--bg) 100%);
      text-align: center;
      padding: 8rem 2.5rem;
    }

    #kontakt .label { margin-bottom: 1.5rem; }

    #kontakt h2 {
      font-size: clamp(2.5rem, 5vw, 4.5rem);
      margin-bottom: 1.5rem;
      max-width: 16ch;
      margin-left: auto;
      margin-right: auto;
    }

    #kontakt p {
      color: rgba(240,232,216,.85);
      max-width: 42ch;
      margin: 0 auto 3rem;
    }

    .contact-link {
      display: inline-flex; align-items: center; gap: .6rem;
      font-size: 1.5rem;
      color: var(--amber-lt);
      text-decoration: none;
      border-bottom: 1px solid var(--line);
      padding-bottom: .3rem;
      transition: color .2s, border-color .2s;
    }

    .contact-link:hover { color: var(--cream); border-color: var(--amber); }

    .contact-buttons {
      display: flex;
      gap: 2rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 0;
    }

    /* ── Footer ─────────────────────────────────────────── */
    footer {
      border-top: 1px solid var(--line);
      padding: 2rem 2.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    footer p {
      font-family: var(--mono);
      font-size: .68rem;
      letter-spacing: .1em;
      color: var(--cream);
    }

    footer a { color: rgba(240,232,216,.6) !important; text-decoration: none; cursor: pointer; transition: color .2s; }
    footer a:hover { color: var(--amber) !important; }

    /* ── Modals ──────────────────────────────────────────── */
    .uk-modal-dialog {
      background: #181613 !important;
      border: 1px solid var(--line);
      border-radius: 0;
    }

    .uk-modal-header {
      background: transparent !important;
      border-bottom: 1px solid var(--line) !important;
      padding: 2rem 2.5rem 1.5rem !important;
    }

    .uk-modal-header h2 {
      font-family: var(--serif) !important;
      font-size: 1.8rem !important;
      font-weight: 600 !important;
      color: var(--cream) !important;
      letter-spacing: .02em;
    }

    .uk-modal-body {
      padding: 2rem 2.5rem !important;
      font-family: var(--mono);
      font-size: .82rem;
      line-height: 2;
      color: rgba(240,232,216,.8);
    }

    .uk-modal-body p { margin-bottom: 1.2rem; }
    .uk-modal-body h3 {
      font-family: var(--serif);
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--amber);
      margin: 1.8rem 0 .6rem;
      letter-spacing: .04em;
    }

    .uk-modal-footer {
      background: transparent !important;
      border-top: 1px solid var(--line) !important;
      padding: 1.2rem 2.5rem !important;
    }

    .uk-modal-close-default {
      color: var(--muted) !important;
      top: 1.5rem !important;
      right: 1.8rem !important;
    }

    .uk-modal-close-default:hover { color: var(--cream) !important; }

    /* ── Hamburger (mobile) ──────────────────────────────── */
    .nav-hamburger {
      display: none;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: .4rem;
      color: var(--cream);
    }

    @media (max-width: 768px) {
      .nav-hamburger { display: flex; align-items: center; }
    }

    /* ── Offcanvas styling ───────────────────────────────── */
    #mobile-menu.uk-offcanvas-bar {
      background: #111009 !important;
      width: 280px !important;
      padding: 2.5rem 2rem !important;
      border-right: 1px solid var(--line);
    }

    .mobile-menu-logo {
      font-family: var(--serif);
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--cream);
      display: block;
      margin-bottom: 2.5rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--line);
    }

    .mobile-nav-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: .25rem;
    }

    .mobile-nav-links a {
      display: block;
      font-family: var(--mono);
      font-size: .78rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: rgba(240,232,216,.7);
      text-decoration: none;
      padding: .85rem .5rem;
      border-bottom: 1px solid rgba(200,136,58,.1);
      transition: color .2s, padding-left .2s;
    }

    .mobile-nav-links a:hover {
      color: var(--amber);
      padding-left: .8rem;
    }

    .mobile-menu-contact {
      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px solid var(--line);
    }

    .mobile-menu-contact p {
      font-family: var(--mono);
      font-size: .68rem;
      letter-spacing: .1em;
      color: var(--muted);
      line-height: 2;
    }

    .mobile-menu-contact a {
      color: var(--amber-lt);
      text-decoration: none;
    }

    .uk-offcanvas-close {
      color: var(--muted) !important;
      top: 1.2rem !important;
      right: 1.2rem !important;
    }
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity .7s ease, transform .7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: none;
    }

    /* ── Responsive ─────────────────────────────────────── */
    @media (max-width: 768px) {
      #hero { grid-template-columns: 1fr; min-height: auto; }
      .hero-visual { height: 50vh; }
      .hero-text { padding: 7rem 1.8rem 4rem; }
      .hero-title { font-size: 2.6rem; }

      .about-grid { grid-template-columns: 1fr; }
      .about-photo { aspect-ratio: 4/3; }
      .about-photo img { object-position: center 10%; }

      .cards { grid-template-columns: 1fr; }

      .stats { grid-template-columns: repeat(3, 1fr); gap: .8rem; }
      .stat-num { font-size: 1.8rem; }
      .stat-label { font-size: .6rem; }

      .step { grid-template-columns: 2.5rem 1fr; gap: 1rem; }

      .contact-buttons { flex-direction: column; align-items: center; gap: 1.2rem; }

      .nav-links { display: none; }
      section { padding: 5rem 1.5rem; }
      footer { flex-direction: column; gap: .6rem; text-align: center; }
      footer p { font-size: .65rem; }

      #kontakt h2 { font-size: 2.4rem; }
    }
