/* nicole-grundel.de – Stylesheet
   Nachbau des bisherigen „Lightblog“-Erscheinungsbilds mit modernem, eigenem CSS. */

/* ---------- Schriften (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/lora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/lora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/lora-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/lora-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design-Tokens ---------- */
:root {
  --c-text: #676767;
  --c-heading: #343434;
  --c-dark: #343434;
  --c-black: #000;
  --c-muted: #999;
  --c-bg: #f9f9f9;
  --c-surface: #fff;
  --c-border: #e4e4e4;
  --c-line: #ddd;
  --c-accent: #219c88; /* Grün aus dem Logo */
  --c-accent-soft: #e8f5f2;
  --c-taupe: #a89682; /* Braun aus dem Logo */
  --f-body: 'Lora', Georgia, 'Times New Roman', serif;
  --f-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --nav-h: 60px;
  --wrap: 1200px;
  --gutter: 15px;
  --radius: 0;
  --shadow-nav: 0 1px 5px rgba(0, 0, 0, 0.11);
  --ease: cubic-bezier(0.2, 0.6, 0.3, 1);
}

/* ---------- Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  padding-top: var(--nav-h);
  background: var(--c-bg);
  color: var(--c-text);
  font: 400 1rem/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 15px;
  color: var(--c-heading);
  font-family: var(--f-head);
  font-weight: 400;
  line-height: 1.25;
}

h2 {
  font-size: 1.5rem;
  margin-top: 1.6em;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1.4em;
}

p,
ul,
ol {
  margin: 0 0 15px;
}

a {
  color: var(--c-heading);
  text-decoration-color: rgba(52, 52, 52, 0.35);
  text-underline-offset: 0.18em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover {
  color: var(--c-accent);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

strong {
  font-weight: 700;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Rückwärts im Quelltext gespeicherter Text (Telefonnummer), richtig herum angezeigt */
.reversed {
  unicode-bidi: bidi-override;
  direction: rtl;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 14px;
  background: var(--c-dark);
  color: #fff;
  transform: translateY(-200%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 7px 12px 6px;
  border: 0;
  background: var(--c-dark);
  color: #fff;
  font: 400 14px/27px var(--f-head);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn:hover,
.btn:focus-visible {
  background: var(--c-black);
  color: #fff;
}

.cta {
  margin-top: 20px;
}

/* ---------- Hauptnavigation (fixiert) ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: var(--c-surface);
  box-shadow: var(--shadow-nav);
}

.main-nav ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  position: relative;
}

.main-nav li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1px;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  background: var(--c-muted);
}

.main-nav a {
  display: block;
  padding: 0 28px 0 20px;
  color: var(--c-black);
  font: 700 18px/var(--nav-h) var(--f-head);
  text-transform: uppercase;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--c-muted);
}

.menu-toggle {
  display: none;
}

/* ---------- Social-Icons ---------- */
.social {
  display: flex;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social__link {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: linear-gradient(135deg, #9a9a9a, #7d7d7d);
  color: #fff;
  font-size: 26px;
  transition: background 0.25s;
}

.social__link:hover,
.social__link:focus-visible {
  background: var(--c-dark);
  color: #fff;
}

.sticky-social {
  position: fixed;
  top: calc(var(--nav-h) + 17px);
  left: 0;
  z-index: 90;
}

.sticky-social .social {
  flex-direction: column;
}

/* ---------- Kopfbereich ---------- */
.site-header {
  background: var(--c-surface);
  border-bottom: 1px solid #ececec;
  padding-bottom: 20px;
  text-align: center;
}

.logo {
  display: inline-block;
  margin: 60px auto 0;
}

.logo img {
  width: 365px;
}

.banner {
  max-width: var(--wrap);
  margin: 60px auto 10px;
}

.banner img {
  width: 100%;
}

/* ---------- Inhaltsbereich ---------- */
.wrapper {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 40px var(--gutter);
}

.content-box {
  padding: 35px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}

.content-box::after {
  content: '';
  display: table;
  clear: both;
}

.page-title {
  margin: 0 0 30px;
  font-size: 35px;
  line-height: 1;
}

.item-page ul,
.item-page ol {
  padding-left: 1.3em;
}

.item-page li {
  margin-bottom: 4px;
}

.item-page__image {
  float: right;
  width: min(400px, 45%);
  margin: 0 0 20px 30px;
}

.item-page__image img,
.featured__thumb img {
  border: 1px solid var(--c-border);
}

.legal h2 {
  font-size: 1.3rem;
}

.legal__date {
  margin-top: 30px;
  color: var(--c-muted);
}

/* ---------- Startseite: drei Leistungen ---------- */
.featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 29px;
  row-gap: 40px;
  padding-top: 25px;
}

.featured__title {
  margin: 0;
  padding-bottom: 15px;
  font-size: 20px;
  text-align: center;
}

.featured__thumb {
  display: block;
  margin: 0 0 10px 25px;
  overflow: hidden;
}

.featured__thumb img {
  width: 100%;
  transition: transform 0.6s var(--ease), filter 0.3s;
}

.featured__thumb:hover img {
  transform: scale(1.03);
}

.featured__item p {
  margin-bottom: 10px;
}

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 45%), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery__link {
  display: block;
  padding: 4px;
  background: var(--c-surface);
  border: 1px solid #ccc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.gallery__link:hover,
.gallery__link:focus-visible {
  border-color: var(--c-muted);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.gallery__link img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Lightbox */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.lightbox[open] {
  display: grid;
  place-items: center;
  animation: fade-in 0.25s var(--ease);
}

.lightbox__figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.lightbox__img {
  max-width: min(92vw, 1600px);
  max-height: calc(100dvh - 90px);
  width: auto;
  height: auto;
  background: #222;
  border: 6px solid #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  touch-action: pan-y pinch-zoom;
}

.lightbox__img.is-loading {
  opacity: 0.4;
}

.lightbox__counter {
  color: #ddd;
  font: 400 15px/1 var(--f-head);
  letter-spacing: 0.05em;
}

.lightbox__btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox__btn:hover,
.lightbox__btn:focus-visible {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__btn--prev {
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}

.lightbox__btn--next {
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}

.lightbox__btn--close {
  top: 16px;
  right: 16px;
}

/* ---------- Hörproben ---------- */
.player {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
  padding: 20px 22px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
}

.player[hidden] {
  display: none;
}

.player__now {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.player__label {
  color: var(--c-muted);
  font: 400 13px/1 var(--f-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player__title {
  color: var(--c-heading);
  font: 400 1.35rem/1.3 var(--f-head);
}

.player__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player__btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-dark);
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.player__btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.player__btn--main {
  width: 48px;
  height: 48px;
  background: var(--c-dark);
  color: #fff;
  font-size: 22px;
}

.player__btn--main:hover {
  background: var(--c-black);
}

.player__btn--small {
  width: 32px;
  height: 32px;
  font-size: 18px;
}

.player__btn .icon + .icon,
.tracklist__play .icon + .icon {
  display: none;
}

.player.is-playing .player__btn--main .icon:first-child,
.tracklist tr.is-playing .tracklist__play .icon:first-child,
.player.is-muted [data-action='mute'] .icon:first-child {
  display: none;
}

.player.is-playing .player__btn--main .icon + .icon,
.tracklist tr.is-playing .tracklist__play .icon + .icon,
.player.is-muted [data-action='mute'] .icon + .icon {
  display: block;
}

.player__time {
  min-width: 3.2em;
  color: var(--c-text);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.player__seek {
  flex: 1;
}

.player__volume {
  width: 90px;
}

.range {
  --progress: 0%;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--c-accent) var(--progress), #d6d6d6 var(--progress));
}

.range::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: #d6d6d6;
}

.range::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--c-accent);
}

.range::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: var(--c-dark);
  -webkit-appearance: none;
}

.range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--c-dark);
}

.tracklist {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.tracklist th {
  padding: 8px 10px;
  border-bottom: 2px solid var(--c-line);
  color: var(--c-heading);
  font: 400 15px/1.4 var(--f-head);
  text-align: left;
}

.tracklist td {
  padding: 10px;
  border-top: 1px solid var(--c-line);
  vertical-align: middle;
}

.tracklist tbody tr:nth-child(odd) {
  background: var(--c-bg);
}

.tracklist tbody tr:hover {
  background: #f2f2f2;
}

.tracklist tr.is-current {
  background: var(--c-accent-soft) !important;
  box-shadow: inset 3px 0 0 var(--c-accent);
}

.tracklist__num {
  width: 56px;
  text-align: center !important;
}

.tracklist__dur {
  width: 80px;
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}

.tracklist__index {
  display: inline-block;
  min-width: 1.5em;
}

.tracklist__play {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-dark);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  vertical-align: middle;
}

.tracklist__play:hover {
  background: var(--c-accent);
}

.has-player .tracklist__index {
  display: none;
}

.has-player .tracklist__play {
  display: inline-grid;
}

.tracklist__link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-heading);
  font: 700 15px/1.5 var(--f-body);
  text-align: left;
  cursor: pointer;
}

.tracklist__link:hover {
  color: var(--c-accent);
}

.tracklist__original {
  display: block;
  color: var(--c-muted);
  font-size: 14px;
}

/* ---------- Suche ---------- */
.search__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.search__input {
  flex: 1 1 240px;
  max-width: 420px;
  height: 40px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 0;
  font: inherit;
  color: var(--c-heading);
}

.search__input:focus {
  border-color: var(--c-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 156, 136, 0.2);
}

.search__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0 0 25px;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
}

.search__options legend {
  padding: 0 6px;
  color: var(--c-heading);
  font-family: var(--f-head);
}

.search__options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.search__options input {
  accent-color: var(--c-accent);
}

.search__summary {
  color: var(--c-heading);
  font-family: var(--f-head);
}

.search__results {
  padding-left: 1.4em;
}

.search__results li {
  margin-bottom: 20px;
}

.search__results a {
  font: 400 1.2rem/1.4 var(--f-head);
}

.search__results p {
  margin: 4px 0 0;
}

.search__results mark {
  background: #fff1b8;
  color: inherit;
}

/* ---------- Sitemap ---------- */
.sitemap ul {
  padding-left: 1.3em;
}

.sitemap li {
  margin: 4px 0;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  border-bottom: 1px solid var(--c-border);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: #252525;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.site-footer__inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px var(--gutter);
  text-align: center;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  font-family: var(--f-head);
}

.footer-menu a {
  color: var(--c-text);
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a[aria-current='page'] {
  color: var(--c-black);
}

.social--footer {
  justify-content: center;
  margin-bottom: 35px;
}

.copyright {
  margin: 0;
}

/* ---------- Nach-oben-Button ---------- */
.to-top {
  position: fixed;
  right: 50px;
  bottom: 30px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: rgba(181, 181, 181, 0.6);
  color: #fff;
  font-size: 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: rgba(52, 52, 52, 0.85);
  color: #fff;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .main-nav a {
    padding: 0 18px 0 14px;
    font-size: 16px;
  }
}

@media (max-width: 799px) {
  .site-nav {
    display: flex;
    justify-content: center;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: var(--nav-h);
    padding: 0 20px;
    border: 0;
    background: none;
    color: var(--c-black);
    font: 700 18px/1 var(--f-head);
    text-transform: uppercase;
    cursor: pointer;
  }

  .menu-toggle .icon {
    font-size: 24px;
  }

  .main-nav {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    background: var(--c-surface);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  }

  .main-nav.is-open {
    display: block;
    animation: slide-down 0.3s var(--ease);
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav li {
    border-top: 1px solid #eee;
  }

  .main-nav li::after {
    display: none;
  }

  .main-nav a {
    padding: 0 20px;
    font-size: 17px;
    line-height: 52px;
    text-align: center;
  }

  .sticky-social {
    display: none;
  }

  .logo {
    margin-top: 36px;
  }

  .banner {
    margin: 36px auto 0;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 767px) {
  .wrapper {
    padding: 20px 12px;
  }

  .content-box {
    padding: 24px 20px;
  }

  .page-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

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

  .featured__thumb {
    margin-left: 0;
  }

  .item-page__image {
    float: none;
    width: 100%;
    margin: 0 0 20px;
  }

  .player {
    padding: 16px;
  }

  .player__controls {
    flex-wrap: wrap;
  }

  .player__seek {
    order: 10;
    flex-basis: 100%;
  }

  .player__volume,
  [data-action='mute'] {
    display: none;
  }

  .tracklist__dur {
    width: 60px;
  }

  .tracklist td,
  .tracklist th {
    padding: 8px 6px;
  }
}

@media (max-width: 420px) {
  .logo img {
    width: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-nav,
  .sticky-social,
  .banner,
  .footer-menu,
  .social,
  .to-top,
  .player,
  .lightbox {
    display: none !important;
  }

  body {
    padding: 0;
    background: #fff;
  }

  .content-box {
    border: 0;
    padding: 0;
  }
}
