/* =============================================================
   TAEKWONDO THEME — main.css
   Inter via Google Fonts | Responsive | DE/FR
   ============================================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-primary:     #1a1a2e;   /* Dunkelblau-Schwarz – Hauptfarbe */
  --color-accent:      #c0392b;   /* Rot – Akzent (Taekwondo-Energie) */
  --color-accent-dark: #96281b;
  --color-surface:     #ffffff;
  --color-bg:          #f5f5f5;
  --color-grey-light:  #f0f0f0;
  --color-grey-mid:    #d0d0d0;
  --color-grey-text:   #555555;
  --color-footer-bar:  #111111;
  --color-footer-map:  #2c3e50;
  --color-link:		   #5CABEB;

  --font-base: 'Inter', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --shadow-card: 0 2px 12px rgba(0,0,0,.10);

  --container-width: 1160px;
  --header-height:   72px;

  --transition: 0.22s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-primary);
  background: var(--color-surface);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-grey-light);
  height: var(--header-height);
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

/* Logo */
.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-header__logo img {
  height: 48px;
  width: auto;
}

.site-header__logo-placeholder {
  width: 120px;
  height: 48px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Main Navigation (centered) */
.site-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu__item a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-menu__item a:hover,
.nav-menu__item.current-menu-item a {
  font-weight: 700;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.lang-switcher__btn {
  padding: 5px;
  font-size: 13px;
  font-weight: 400;
  font-family: var(--font-base);
  border: none;
  background: transparent;
  cursor: pointer;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lang-switcher__btn:hover,
.lang-switcher__btn.active {
  font-weight: 700
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover { background: var(--color-grey-light); }

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger active state */
.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--color-surface);
  border-top: 1px solid var(--color-grey-light);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 999;
  padding: 16px 0;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-nav.is-open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav__menu {
  display: flex;
  flex-direction: column;
}

.mobile-nav__menu a {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-grey-light);
  transition: background var(--transition), color var(--transition);
}

.mobile-nav__menu a:hover {
  background: var(--color-accent);
  color: #fff;
}

.mobile-nav__lang {
  display: flex;
  gap: 8px;
  padding: 16px 24px;
}

/* =============================================================
   MAIN CONTENT AREA
   ============================================================= */
.site-main {
  min-height: 60vh;
}

/* =============================================================
   HERO SECTION
   ============================================================= */
.hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--color-primary);
}
.hero.home {
  height: 680px;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .75;
  filter: grayscale(1);
}

.hero__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #c0392b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.3);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 100%);
}

/* Logo overlay (Home Hero) */
.hero__logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hero__logo-box {
  background: rgba(255,255,255,.92);
  padding: 20px 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.hero__logo-box img {
  height: 80px;
  width: auto;
}

.hero__logo-placeholder {
  width: 200px;
  height: 80px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Title overlay (Subpage Hero) */
.hero__title-overlay {
  position: absolute;
  bottom: 35%;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 40px 0;
}

.hero__title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
  text-align: center;
  opacity: 17%;
}

/* =============================================================
   HOME PAGE
   ============================================================= */

/* News / Wichtige Mitteilung */
.news-banner {
  background: var(--color-surface);
  border-top: 3px solid var(--color-accent);
  padding: 40px 0;
}

.news-banner__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.news-banner__image-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-md);
  /*background: var(--color-grey-light);*/
}

.news-banner__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-grey-light), var(--color-grey-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-grey-text);
  font-size: 13px;
  min-height: 210px;
}

.news-banner__label {
display: inline-block;
color: #BE3F3F;
font-size: 18px;
font-weight: 600;
text-transform: uppercase;
margin-bottom: 12px;
}

.news-banner__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.news-banner__text {
  color: var(--color-grey-text);
  font-size: 15px;
  line-height: 1.7;
}

/* Tables Section */
.tables-section {
  background: var(--color-grey-light);
  padding: 56px 0;
}

.tables-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.info-table {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  padding: 20px 20px 40px;
}

.info-table__head {
  padding: 16px 20px 0;
}

.info-table__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.info-table table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

.info-table th,
.info-table td {
  /* KEIN width: auto hier — einfach weglassen */
  padding: 12px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-grey-light);
  vertical-align: top;
  box-sizing: border-box;
}


.info-table td {
  padding: 12px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-grey-light);
  vertical-align: top;
}

.info-table tr:first-child td {
  font-size: 12px;
}



.info-table td:last-child {
  color: var(--color-grey-text);
}

.info-table tr:last-child td {
  border-bottom: none;
}

/* Prices Section */
.prices-section {
  padding: 56px 0;
  background: var(--color-surface);
}

.prices-section .container {
max-width: 960px;
}



.section-subtitle {
  font-size: 16px;
  color: var(--color-grey-text);
  margin-bottom: 40px;
}

.prices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  border: 2px solid var(--color-grey-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
  background: var(--color-surface);
  text-align: center;
  min-height: 440px;
}

.price-card:hover {
  box-shadow: var(--shadow-card);
}

.price-card--featured {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .05em;
}

.price-card__category {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	margin-bottom: 16px;
	color: #BE3F3F;
	margin-top: 16px;
}

.price-card__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.2;
}

.price-card__amount {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.price-card__period {
  font-size: 18px;
  margin-bottom: 16px;
  display: inline;
  font-weight: 400;
}

.price-card__desc {
	font-size: 15px;
	line-height: 22px;
	font-weight: 400;
	padding: 20px 0;
}

.price-card__extra {
	font-style: italic;
	font-size: 14px;
	font-weight: 400;
	margin-top: 20px;
	position: absolute;
	bottom: 130px;
	width: calc(100% - 50px);
}

.price-card__CTA {
	background-color: #1F1F1F;
	color: #FFFFFF;
	text-align: center;
	font-size: 18px;
	padding: 6px;
	position: absolute;
	bottom: 50px;
	width: calc(100% - 50px);
}

/* =============================================================
   GALLERY (Impressionen)
   ============================================================= */
.gallery-section {
  padding: 56px 0;
}

.gallery-section__header {
  margin-bottom: 32px;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.gallery-filter__btn {
  padding: 8px 30px 8px 20px;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-base);
  border-right: 1px solid #8D8D8D;
  border-bottom: none;
  background: none;
  border-left: none;
  color: #828282
}

.gallery-filter__btn:hover,
.gallery-filter__btn.active {
  font-weight: 700;
  cursor: pointer;
  border-top: none;
  color: black
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

hr{
	color: black;
border: 0.5px solid #8D8D8D;
margin-top: 20px
}


.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  /*border-radius: var(--radius-md);*/
  background: var(--color-grey-light);
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dce3ea 0%, #b0bec5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-grey-text);
  font-size: 13px;
  min-height: 220px;
  transition: transform .4s ease;
}

.gallery-item:hover .gallery-item__placeholder {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__overlay svg {
  width: 36px;
  height: 36px;
  color: #fff;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Gallery hidden state */
.gallery-item.is-hidden {
  display: none;
}

/* =============================================================
   STATIC TEXT SECTIONS (Taekwondo / Über uns)
   ============================================================= */
.content-section {
  padding: 56px 0;
}

.content-section--grey {
  background: var(--color-grey-light);
}

.content-prose {
 /* max-width: 780px;*/
}

h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: -.02em;
  line-height: normal;
}

.content-prose h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
}

.content-prose p {
  color: var(--color-grey-text);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.content-prose ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--color-grey-text);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* =============================================================
   TRAINERS (Über uns)
   ============================================================= */
.trainers-section {
  padding: 56px 0;
}

.trainer-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.trainer-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.trainer-item__image-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-grey-light);
}

.trainer-item__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainer-item__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c8d6e0, #90a4ae);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  min-height: 280px;
}

.trainer-item__role {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-accent);
}

.trainer-item__name {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: -3px;
  text-transform: uppercase;
}

.trainer-item__dan {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 26px;

}

.trainer-item__bio {
  color: var(--color-grey-text);
  font-size: 15px;
  line-height: 1.75;
  max-width: 600px;
}

.trainer-item__bio p {
  margin-bottom: 12px;
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {}

/* Google Maps area */
.footer-map {
  width: 100%;
  height: 380px;
  background: var(--color-footer-map);
  position: relative;
  overflow: hidden;
}

  .footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(100%) contrast(1.2) brightness(1.1);
}

.footer-map__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.55);
  font-size: 14px;
}

.footer-map__placeholder svg {
  width: 48px;
  height: 48px;
  fill: rgba(255,255,255,.3);
}

/* Footer bar */
.footer-bar {
  background: var(--color-footer-bar);
  color: rgba(255,255,255,.75);
  padding: 24px 0 16px;
}

/* Zeile 1: Logo + Adresse nebeneinander */
.footer-bar__top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  justify-content: center;
}

/* Logo */
.footer-bar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.footer-bar__logo img {
  height: 160px;
  width: auto;
}

.footer-bar__logo-placeholder {
  width: 100px;
  height: 44px;
  background: rgba(255,255,255,.15);
  border: 1px dashed rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Adresse */
.footer-bar__address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255);
}
.footer-bar__address p{
	padding: 10px 0;
}

/* Zeile 2: Links rechtsbündig */
.footer-bar__links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 12px;
}

.footer-bar__links a {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
  white-space: nowrap;
}

.footer-bar__links a:hover {
  color: #fff;
}

.footer-bar__address a {
	color: var(--color-link);
}

.footer-bar__address a:hover {
	text-decoration: underline
}

/* =============================================================
   LANGUAGE TOGGLE (content visibility)
   ============================================================= */
[data-lang] { display: none; }
[data-lang].lang-visible { display: block; }
tbody[data-lang].lang-visible { display: table-row-group; }
[data-lang-inline] { display: none; }
[data-lang-inline].lang-visible { display: inline; }

/* =============================================================
   UTILITY CLASSES
   ============================================================= */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* =============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================= */

/* Tablet: 900px */
@media (max-width: 900px) {
  .tables-section__grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trainer-item {
    grid-template-columns: 220px 1fr;
    gap: 28px;
  }
}

/* Mobile: 680px */
@media (max-width: 680px) {
  :root {
    --header-height: 64px;
  }

  /* Show hamburger, hide desktop nav */
  .hamburger { display: flex; }
  .site-header__nav { display: none; }
  #lang-switcher-desktop { display: none; }

  .hero {
    height: 320px;
  }

  .hero__title {
    font-size: 28px;
  }

  /* News */
  .news-banner__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Tables */
  .tables-section__grid {
    grid-template-columns: 1fr;
  }

  /* Prices */
  .prices-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* Trainers */
  .trainer-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trainer-item__image-wrap {
    max-height: 360px;
  }

  .trainer-item__image-placeholder {
    min-height: 200px;
  }

  /* Footer Map */
  .footer-map {
    height: 260px;
  }
  
    /* Footer Bar: auf Mobile stapeln */
  .footer-bar__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bar__links {
    justify-content: flex-start;
  }

  .section-title {
    font-size: 22px;
  }

  .section-subtitle {
    font-size: 14px;
  }

 
}

/* Very small: 400px */
@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filter {
    gap: 6px;
  }

  .gallery-filter__btn {
    font-size: 13px;
    padding: 6px 14px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
