:root{
--blue: #18a0fb;
--turquoise: #15b8b1;
--brown: #8b5e3c;
--text: #1f2937;
--muted: #6b7280;
--white: #ffffff;
--shadow: 0 10px 30px rgba(24,160,251,.06);
--radius: 18px;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji"; color: var(--text); background: var(--white); line-height: 1.5; }

h1,h2,h3 { margin: 0 0 .5rem 0; line-height: 1.2; }
p { margin: 0 0 1rem 0; }
a { color: var(--turquoise); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; z-index: 15; }

/* Skip link */
.skip-link{ position: absolute; left: -9999px; top: auto; width:1px; height:1px; overflow:hidden; }
.skip-link:focus{ left:16px; top:16px; width:auto; height:auto; background:#000; color:#fff; padding:8px 12px; border-radius:999px; z-index:9999; }

/* Header/Nav */
header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(180%) blur(8px); background: rgba(255,255,255,.92); border-bottom: 1px solid #eee; }
.nav { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 8px 0; }

.brand { display:flex; align-items:center; gap:10px; font-weight: 700; letter-spacing: .2px; min-width:0;}
.brand:hover {  text-decoration: none;}
.brand-name{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color: var(--text)}
.brand-name:hover {text-decoration: none;}
.logo { width:34px; height:34px; display:inline-block; }
.logo img { width:100%; height:100%; object-fit: contain; }
.logo:hover {text-decoration: none;}

nav ul{ display:flex; align-items:center; gap: 6px; padding:0; margin:0; list-style:none; }
nav a { padding: 10px 12px; border-radius: 999px; display:inline-block; }
nav a:hover { background: #f5faff; }

/* Screenreader-only Text */
.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;
}

.hamburger {
	border: 0;
	background: none;
	cursor: pointer;
	display: none; /* Desktop: ausgeblendet */
}

.hamburger-bar {
	display: block;
	background-color: var(--turquoise);
	width: 24px;
	height: 2px;
	margin: 4px 0;
}

/* Mobile */
@media (max-width: 880px){
	.hamburger {
		display: block;
	}

	.site-nav {
		/* z.B. ausgeblendet, bis aria-expanded=true via JS */
	}
}


.btn { display:inline-block; padding: 12px 18px; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer; text-align:center; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--turquoise)); color: #fff; box-shadow: 0 6px 20px rgba(21,184,177,.25); }
.btn-primary:hover { filter: brightness(1.05); background:#15b8b1; text-decoration: none;}
.btn-outline { border: 2px solid var(--brown); color: var(--brown); background: #fff; }
.btn-outline:hover { background: #15b8b1; color: white; border-color: white}

/* Hero */
.hero-wrap { position: relative; min-height: 68vh; display: grid; place-items: center; color: var(--text); text-align: center; overflow: hidden; background: #ffffff; }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.95)), url("../images/background.jpg"); background-size: cover; background-position: center 35%; transform: translateZ(0); will-change: background-position; }
.parallax { background-attachment: fixed; }
@media (max-width: 1024px), (prefers-reduced-motion: reduce){ .parallax{ background-attachment: scroll; } }
.hero { padding: 64px 0; }
.eyebrow { color: var(--brown); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }
.headline { font-size: clamp(1.9rem, 6vw, 3rem); }
.subline { color: var(--muted); font-size: clamp(1rem, 3.3vw, 1.125rem); margin-top: .5rem; }
.cta { margin-top: 1.2rem; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

section { padding: 64px 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35rem; font-size: 1.05rem; }

/* Grids */
.grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Hours */
.hours { display:grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; font-variant-numeric: tabular-nums; }
.hours div { padding: 10px 0; border-bottom: 1px dashed #eee; }
.hours div:last-child { border-bottom: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: start; }
.panel { background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 20px; box-shadow: 0 10px 30px rgba(139,94,60,.08); }
.pill { display:inline-block; padding: 6px 10px; border-radius: 999px; background: #f2fbfb; border: 1px solid #d8f3f2; color: var(--turquoise); font-weight: 600; font-size:.9rem; margin-bottom: 8px; }

/* Team */
.team { display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; }
.member { border: 1px solid #eee; border-radius: var(--radius); padding: 16px; background:#fff; text-align:center; box-shadow: var(--shadow); }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 6px auto 10px; overflow:hidden; display:block; }
.avatar img{ width:100%; height:100%; object-fit: cover; display:block; }
.member h3 { margin-bottom: 2px; font-size:1.02rem; }
.role { color: var(--muted); font-size:.95rem; }

/* FAQ */
details { border: 1px solid #eee; border-radius: 14px; padding: 14px 16px; background:#fff; box-shadow: 0 10px 30px rgba(24,160,251,.04); }
details+details { margin-top: 10px; }
summary { cursor:pointer; font-weight: 700; }

/* Footer */
footer { padding: 28px 0 80px; color: #6b7280; background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.9)); border-top: 1px solid #eee; }

/* Einblicke Galerie */
.gallery {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
}
.gallery img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: var(--radius);
box-shadow: var(--shadow);
transition: transform .3s ease;
}
.gallery img:hover {
transform: scale(1.03);
}
@media (max-width: 960px){
.gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px){
.gallery { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 960px){
.cards { grid-template-columns: 1fr 1fr; }
.team { grid-template-columns: 1fr 1fr; }
.contact { grid-template-columns: 1fr; }
.nav{ grid-template-columns: 1fr auto; }
}
@media (max-width: 880px){
/* Mobile-first nav */
.hamburger{ display:inline-block; }
nav{ position: fixed; inset: 56px 0 auto 0; transform: translateY(-110%); transition: transform .25s ease; }
nav[aria-expanded="true"]{ transform: translateY(0); border-bottom:1px solid #eee; background: white; pointer-events:auto; }
nav[aria-expanded="false"]{ pointer-events:none; }
nav ul{ flex-direction: column; align-items: stretch; padding: 10px 16px 14px; gap: 2px; }
nav a{ padding: 12px 14px; }
.btn-cta{ width:100%; }
.hero{ padding: 40px 0; }
section{ padding: 48px 0; }
.cards, .team { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; } /* FAQ: full width on mobile */
}

/* Bottom call bar on mobile */
.callbar{ position: fixed; bottom: 0; left: 0; right: 0; padding: env(safe-area-inset-bottom); background: rgba(255,255,255,.96); border-top:1px solid #eee; display:none; z-index:60; backdrop-filter: saturate(180%) blur(6px); }
.callbar .inner{ max-width: 1100px; margin: 0 auto; padding: 10px 16px; display:flex; gap:10px; }
.callbar .inner .btn{ flex:1; }
@media (max-width: 700px){ .callbar{ display:block; } }

/* Media helpers */
.map-embed{ width:100%; aspect-ratio: 16/10; border:0; }

/* Cookie-Banner */
.cookie-banner {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 80;
background: rgba(255,255,255,0.98);
border-top: 1px solid #eee;
box-shadow: 0 -10px 30px rgba(24,160,251,.08);
padding: 10px 16px env(safe-area-inset-bottom);
transform: translateY(100%);
opacity: 0;
transition: transform .3s ease, opacity .3s ease;
font-size: 0.95rem;
}

.cookie-banner--visible {
transform: translateY(0);
opacity: 1;
}

.cookie-banner-inner {
max-width: 1100px;
margin: 0 auto;
display: flex;
gap: 12px;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
}

.cookie-banner-text {
color: var(--muted);
flex: 1 1 260px;
}

.cookie-banner-actions {
display: flex;
gap: 8px;
flex-wrap: wrap;
}

.cookie-btn {
border-radius: 999px;
border: 0;
padding: 10px 16px;
cursor: pointer;
font-weight: 600;
font-size: 0.95rem;
}

.cookie-btn-primary {
background: linear-gradient(135deg, var(--blue), var(--turquoise));
color: #fff;
box-shadow: 0 6px 20px rgba(21,184,177,.25);
}

.cookie-btn-primary:hover {
filter: brightness(1.05);
}

.cookie-btn-secondary {
background: #f5f5f5;
color: var(--text);
}

.cookie-btn-secondary:hover {
background: #e5e5e5;
}
	
	/* Stil für den Button */
#scrollTopBtn {
  position: fixed;         /* bleibt beim Scrollen sichtbar */
  bottom: 20px;            /* Abstand vom unteren Rand */
  right: 20px;             /* Abstand vom rechten Rand */
  z-index: 99;             /* über anderen Elementen */
  background-color: #333;  /* Hintergrundfarbe */
  color: white;            /* Pfeilfarbe */
  border: none;            /* kein Rahmen */
  border-radius: 50%;      /* runder Button */
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  display: none;           /* zuerst unsichtbar */
  transition: opacity 0.3s;
}

#scrollTopBtn:hover {
  background-color: #555;  /* Farbe bei Hover */
}
