@font-face {
  font-family: "Italianno";
  src: url("../fonts/italianno-v18.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --cream: #efe2cf;
  --paper: #dfcbb0;
  --paper-deep: #c9ad87;
  --ink: #3b291b;
  --ink-soft: #68513d;
  --gold: #a97d49;
  --gold-light: #c5a475;
  --gold-dark: #6e492e;
  --line: rgba(73, 49, 29, .25);
  --line-strong: rgba(69, 44, 25, .34);

  --header-bg: rgba(239, 226, 207, .92);
  --header-border: rgba(73, 49, 29, .2);
  --header-shadow: 0 8px 30px rgba(62, 39, 19, .08);
  --surface: #e9d8c0;
  --surface-hover: #f7ecdd;
  --card-bg: #f1e4d1;
  --control-bg: rgba(241, 225, 202, .9);
  --field-bg: rgba(248, 239, 225, .94);
  --tag-bg: rgba(230, 207, 177, .88);
  --footer-bg: #dfc7a8;
  --portrait-card-bg: rgba(236, 218, 194, .92);
  --portrait-ink: #866848;
  --hero-gradient: linear-gradient(90deg, rgba(239,226,207,.88), rgba(220,198,168,.68));
  --portrait-gradient: linear-gradient(145deg, rgba(245,233,216,.9), rgba(213,186,151,.88));
  --contact-tint: rgba(229,209,181,.82);
  --form-panel-bg: rgba(246, 235, 219, .88);
  --button-gradient: linear-gradient(135deg, #93683f, #68472f);
  --focus-ring: rgba(139, 94, 51, .2);
  --success: #2f6c3a;
  --error: #9a312b;
  --accent-contrast: #fff;

  --shadow-soft: 0 12px 35px rgba(62, 39, 19, .13);
  --shadow: 0 24px 70px rgba(62, 39, 19, .2);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
}

html[data-theme="dark"] {
  --cream: #211915;
  --paper: #2b211b;
  --paper-deep: #34261e;
  --ink: #f4eadc;
  --ink-soft: #cdbba6;
  --gold: #c99b62;
  --gold-light: #a97c4d;
  --gold-dark: #e2b878;
  --line: rgba(231, 198, 156, .22);
  --line-strong: rgba(231, 198, 156, .34);

  --header-bg: rgba(33, 25, 21, .9);
  --header-border: rgba(231, 198, 156, .16);
  --header-shadow: 0 8px 30px rgba(0, 0, 0, .22);
  --surface: #261d18;
  --surface-hover: #382b23;
  --card-bg: #2d231d;
  --control-bg: rgba(69, 52, 42, .78);
  --field-bg: rgba(45, 35, 29, .92);
  --tag-bg: rgba(75, 55, 43, .66);
  --footer-bg: #1d1714;
  --portrait-card-bg: rgba(54, 41, 34, .9);
  --portrait-ink: #d5b58b;
  --hero-gradient: linear-gradient(90deg, rgba(33,25,21,.97), rgba(33,25,21,.82));
  --portrait-gradient: linear-gradient(145deg, rgba(62,47,38,.92), rgba(44,33,27,.96));
  --contact-tint: rgba(31,23,19,.94);
  --form-panel-bg: rgba(45, 34, 28, .88);
  --button-gradient: linear-gradient(135deg, #d4a86d, #b9854d);
  --focus-ring: rgba(201,155,98,.28);
  --success: #8fd19b;
  --error: #ffaaa2;
  --accent-contrast: #21150f;

  --shadow-soft: 0 12px 35px rgba(0, 0, 0, .2);
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html {
  color-scheme: light;
  scroll-behavior: smooth;
}
html[data-theme="dark"] { color-scheme: dark; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden; }
a { 
  color: inherit; 
  text-decoration: none;
 }
button, input, select, textarea { 
  font: inherit; 
}
button { 
  cursor: pointer; 
}
img { 
  max-width: 100%; 
  display: block; 
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.section {
  padding: clamp(76px, 8vw, 100px) 0;
}
.sr-only { 
  position: absolute; 
  width: 1px; 
  height: 1px; 
  padding: 0; 
  margin: -1px; 
  overflow: hidden; 
  clip: rect(0,0,0,0); 
  white-space: nowrap; 
  border: 0; 
}
.skip-link { 
  position: fixed; 
  left: 16px; 
  top: -60px; 
  z-index: 100; 
  padding: 10px 14px; 
  background: var(--surface-hover);
  border: 1px solid var(--line); 
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(18px);
  box-shadow: var(--header-shadow);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  transition: transform .25s ease;
}
.brand-icon { 
  color: var(--gold); 
  font-size: 48px; 
  line-height: 1; 
}
.brand strong { 
  display: block; 
  font: 600 28px/1 var(--serif); 
}
.brand em { 
  display: block; 
  color: var(--gold-dark); 
  font: 27px/1 "Italianno", cursive;
}
.main-nav { 
  display: flex; 
  align-items: center; 
  gap: 24px; 
  font-size: 14px; 
  font-weight: 600; 
}
.main-nav a:hover { 
  color: var(--gold-dark); 
}
.header-actions { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}
.language-button,
.theme-button,
.login-button {
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 17px;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.language-button:hover,
.theme-button:hover,
.login-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.language-button,
.theme-button {
  border: 1px solid var(--line);
  background: var(--control-bg);
  color: var(--ink);
}

.language-button:hover,
.theme-button:hover {
  border-color: var(--gold);
  background: var(--surface-hover);
}

.theme-button {
  width: 44px;
  padding: 0;
  border-radius: 50%;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 2px;
}

.theme-icon {
  font-size: 19px;
  line-height: 1;
}

.login-button {
  background: var(--button-gradient);
  color: var(--accent-contrast);
}
.menu-toggle { 
  display: none; 
  width: 44px; height: 44px; 
  padding: 10px; border: 0; 
  background: transparent; 
}
.menu-toggle > span:not(.sr-only) { 
  display: block; 
  height: 2px; 
  margin: 5px 0; 
  background: var(--ink); 
}

.hero { 
  min-height: calc(100svh - 92px);
  display: grid; 
  align-items: center; 
  background: var(--hero-gradient), url("../images/noten-hintergrund.png") center/cover;
}
.hero-grid { 
  display: grid; 
  grid-template-columns: minmax(260px, .68fr) 1.32fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center; 
  padding-block: clamp(28px, 4vh, 44px);
}
.portrait-card { 
  width: 100%; 
  max-width: min(370px, 44vh);
  aspect-ratio: 4/5; 
  padding: 12px;
  border: 1px solid var(--line); 
  border-radius: 48% 48% 18px 18px; 
  background: var(--portrait-card-bg);
  box-shadow: var(--shadow); 
  align-self: center;
  justify-self: center;
}
.portrait-placeholder { 
  height: 100%; 
  display: grid; 
  place-content: center;
  gap: 12px; 
  text-align: center; 
  border: 1px dashed var(--gold); 
  border-radius: 48% 48% 12px 12px; 
  background: var(--portrait-gradient);
  color: var(--portrait-ink);
}
.camera-icon { 
  font-size: 52px; 
  opacity: .7; 
}
.eyebrow { 
  margin: 0 0 8px; 
  color: var(--gold-dark); 
  text-transform: uppercase; 
  letter-spacing: .16em; 
  font-size: 13px; 
  font-weight: 700; 
}
.center { 
  text-align: center; 
}
h1, h2, h3 { 
  font-family: var(--serif); 
  line-height: 1.04; 
  margin-top: 0; 
}
h1 { max-width: 760px; 
  margin-bottom: 14px;
  font-size: calc(clamp(46px, 6vw, 76px) - 6px);
}
h2 { 
  margin-bottom: 22px; 
  text-align: center; 
  font-size: calc(clamp(38px, 4vw, 54px) - 2px);
}
h3 { 
  margin-bottom: 10px; 
  font-size: 28px;
}
.hero-copy p { 
  max-width: 700px; 
  margin-block: 0 10px;
  font-family: var(--serif); 
  font-size: 19px;
  line-height: 1.42;
}
.more-text p:last-child {
  margin-bottom: 0;
}
.more-text[hidden] { 
  display: none; 
}
.ornament { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  margin: 4px 0 14px;
  color: var(--gold); 
}
.ornament span { 
  display: block; 
  width: 100px; 
  height: 1px; 
  background: var(--gold); 
}
.outline-button, .primary-button {
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 14px; 
  min-height: 52px; 
  border-radius: 8px; 
  padding: 12px 23px; 
  font-weight: 600; 
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}
.outline-button { 
  border: 1px solid var(--gold-dark); 
  background: var(--control-bg);
  color: var(--ink); 
}
.outline-button:hover { 
  background: var(--surface-hover);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}
.outline-button:active,
.primary-button:active,
.login-button:active {
  transform: translateY(1px);
}

.features { 
  background: var(--surface);
}
.feature-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px; 
  margin-top: 44px; 
}
.feature-card { 
  padding: 34px; 
  text-align: center; 
  border: 1px solid var(--line); 
  border-radius: 16px; 
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}
.feature-card > span { 
  color: var(--gold); 
  font-size: 38px; }
.feature-card p { margin-bottom: 0; 
}

.concerts { 
  background: var(--paper-deep); 
}
.concerts-inner { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; gap: 46px; 
}
.concerts-inner > div:first-child {
  max-width: 680px; 
}
.concerts h2 { 
  text-align: left; 
  margin-bottom: 12px; 
}
.concert-tags { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: flex-end; 
  gap: 12px; 
}
.concert-tags span { 
  padding: 10px 18px; 
  border: 1px solid var(--line-strong);
  border-radius: 999px; 
  background: var(--tag-bg);
}

.section-divider {
  position: relative;
  z-index: 2;
  height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: var(--gold);
  pointer-events: none;
}

.section-divider::before,
.section-divider::after {
  width: clamp(52px, 8vw, 96px);
  height: 1px;
  content: "";
  background: var(--gold-light);
  opacity: .72;
}

.section-divider span {
  font-size: 24px;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(62, 39, 19, .14);
}

.contact { 
  min-height: calc(100svh - 92px);
  display: grid;
  align-items: center;
  padding: clamp(36px, 4vh, 52px) 0;
  background: linear-gradient(var(--contact-tint), var(--contact-tint)), url("../images/noten-hintergrund.png") center/cover fixed;
}
.contact-container { 
  max-width: 1000px;
}
.contact .eyebrow {
  margin-bottom: 6px;
}
.contact h2 {
  margin-bottom: 12px;
}
.contact .ornament { 
  justify-content: center; 
  margin: 4px 0 12px;
}
.contact-intro { 
  max-width: 720px;
  margin: 0 auto 18px;
  text-align: center; 
  font-size: 17px;
  line-height: 1.6;
}
.contact-form { 
  display: grid; 
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--form-panel-bg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}
.form-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 12px 16px;
}
.form-field-wide {
  grid-column: 1 / -1;
}
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.contact-form label { 
  display: grid; 
  gap: 5px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600; 
}
.contact-form input, .contact-form select, .contact-form textarea { 
  width: 100%; 
  min-height: 44px;
  padding: 10px 13px;
  line-height: 1.4;
  color: var(--ink); 
  border: 1px solid var(--line); 
  border-radius: 9px; 
  background: var(--field-bg);
  outline: none; 
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}
.contact-form textarea {
  height: 88px;
  min-height: 80px;
  max-height: 160px;
  resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { 
  border-color: var(--gold-dark); 
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.contact-form .field-error { 
  border-color: #a43a32; 
}
.privacy-check { 
  grid-template-columns: auto 1fr !important; align-items: start; 
  font-weight: 400 !important; 
}
.privacy-check input { 
  width: 18px; height: 18px; 
  min-height: 18px;
  margin-top: 3px; 
  accent-color: var(--gold-dark);
}
.form-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}
.contact-form .primary-button {
  justify-self: end;
  min-height: 48px;
  padding: 10px 22px;
  min-width: 220px; border: 0;
  font-size: 16px;
  background: var(--button-gradient);
  color: var(--accent-contrast);
  box-shadow: 0 10px 24px rgba(76, 49, 27, .18);
}
.contact-form .primary-button:hover {
  background: var(--gold-dark); 
  box-shadow: 0 13px 28px rgba(76, 49, 27, .24);
  transform: translateY(-1px);
}
.contact-form .primary-button:disabled {
  cursor: wait;
  opacity: .7;
}
.form-note {
  margin: 0;
  text-align: center; 
  color: var(--ink-soft); 
  font-size: 13px;
  line-height: 1.5;
}
.form-feedback {
  display: grid;
  gap: 4px;
}
.form-status { 
  min-height: 24px; margin: 0;
  text-align: center; 
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600; 
}
.form-status.success { 
  color: var(--success);
}
.form-status.error { 
  color: var(--error);
}

.site-footer { 
  background: var(--footer-bg);
  border-top: 1px solid var(--line); 
}
.footer-inner { 
  min-height: 120px;
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 24px; 
}
.footer-brand { 
  font-family: var(--serif); 
  font-size: 20px; 
}
.footer-brand span { 
  color: var(--gold); 
  font-size: 30px; 
  vertical-align: middle; 
}
.site-footer nav { 
  display: flex; 
  gap: 25px; 
}
.site-footer small { 
  color: var(--ink-soft); 
}

.back-to-top {
  --back-to-top-bottom: 20px;
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  bottom: var(--back-to-top-bottom);
  z-index: 18;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--accent-contrast);
  background: var(--button-gradient);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  font: 600 24px/1 var(--sans);
  transition:
    bottom .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.back-to-top:active {
  transform: translateY(1px);
}

.back-to-top[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .menu-toggle { 
    display: block; 
    order: 2; 
  }
  .header-actions { 
    margin-left: auto; 
    order: 1; 
  }
  .main-nav { 
    display: none; 
    position: absolute; 
    top: 88px; 
    left: 0; 
    right: 0; 
    padding: 22px 20px 28px; 
    flex-direction: column; 
    align-items: stretch; 
    background: var(--cream); 
    border-bottom: 1px solid var(--line); 
  }
  .main-nav.open {
     display: flex; 
    }
  .hero-grid { 
    grid-template-columns: minmax(210px, .65fr) minmax(0, 1.35fr);
    gap: 32px;
  }
  .portrait-card { 
    max-width: min(310px, 40vh);
  }
  .hero-copy { 
    text-align: center;
   }
  .hero-copy p { 
    margin-inline: auto; 
  }
  .ornament { 
    justify-content: center; 
  }
  .feature-grid { 
    grid-template-columns: 1fr;
  }
  .concerts-inner { 
    flex-direction: column; 
    text-align: center;
  }
  .concerts h2 { 
    text-align: center; 
  }
  .concert-tags { 
    justify-content: center; 
  }
  .footer-inner { 
    padding-block: 30px; 
    flex-direction: column; 
    text-align: center; 
  }
}

@media (max-width: 660px) {
  .container { 
    width: min(100% - 24px, 1180px); 
  }
  .section { 
    padding: 64px 0; 
  }
  .header-inner { 
    min-height: 76px; 
    gap: 6px;
  }
  .brand {
    gap: 8px;
  }
  .brand-icon { 
    font-size: 39px;
  }
  .brand strong { 
    font-size: 23px;
  }
  .brand em { 
    font-size: 20px;
  }
  .header-actions {
    gap: 6px;
  }
  .language-button,
  .theme-button {
    min-height: 40px;
  }
  .language-button {
    min-width: 40px;
    padding: 8px;
  }
  .theme-button {
    width: 40px;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }
  .login-button { 
    display: none; 
  }
  .main-nav { 
    top: 76px; 
  }
  .hero { 
    min-height: calc(100svh - 76px);
  }
  .hero-grid { 
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 22px;
  }
  .portrait-card {
     max-width: min(180px, 24vh);
    }
  h1 { 
    font-size: calc(clamp(38px, 12vw, 43px) - 6px);
  }
  .hero-copy p { 
    font-size: 17px;
    line-height: 1.36;
  }
  .section-divider {
    gap: 9px;
  }
  .section-divider::before,
  .section-divider::after {
    width: 44px;
  }
  .section-divider span {
    font-size: 21px;
  }
  .form-grid { 
    grid-template-columns: 1fr; 
    gap: 16px;
  }
  .form-field-wide {
    grid-column: auto;
  }
  .contact {
    min-height: auto;
    padding: 48px 0;
    background-attachment: scroll;
  }
  .contact h2 {
    margin-bottom: 10px;
    font-size: 40px;
  }
  .contact .ornament {
    margin: 4px 0 12px;
  }
  .contact-intro {
    margin-bottom: 20px;
    font-size: 17px;
  }
  .contact-form {
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
  }
  .contact-form label {
    gap: 5px;
    font-size: 15px;
  }
  .contact-form input, .contact-form select, .contact-form textarea {
    min-height: 48px;
    padding: 12px 13px;
    font-size: 16px;
  }
  .contact-form textarea {
    height: 108px;
    min-height: 96px;
  }
  .form-footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-form .primary-button {
    justify-self: stretch;
    width: 100%;
    min-height: 50px;
  }
  .form-note {
    font-size: 13px;
  }
  .form-status {
    min-height: 24px;
  }
  .site-footer nav { 
    flex-wrap: wrap; 
    justify-content: center; 
  }
  .back-to-top {
    --back-to-top-bottom: 14px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

@media (max-width: 400px) {
  .contact-form {
    padding: 18px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  a,
  button {
    transition: none;
  }
}
