/* public-sans-regular - latin */


/* public-sans-700 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Public Sans';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/public-sans-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Public Sans';
	font-style: normal;
	font-weight: 600;
	src: url('../fonts/public-sans-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-700 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/cormorant-garamond-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* baskervville-regular - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Baskervville';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/baskervville-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* baskervville-600 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Baskervville';
	font-style: normal;
	font-weight: 600;
	src: url('../fonts/baskervville-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* baskervville-700 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Baskervville';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/baskervville-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.material-icons-outlined {
	font-family: 'Material Icons Outlined';
	font-style: normal;
}

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
	--c-primary: #004349;
	--c-primary-container: #0E6D81;
	--c-primary-fixed: #abeef6;
	--c-secondary: #39665f;
	--c-secondary-container: #bcece3;
	--c-surface: #f4faff;
	--c-surface-low: #ebf5fc;
	--c-surface-container: #e5eff6;
	--c-on-surface: #495f6a;
	--c-on-surface-variant: #0E6D81;
	--c-on-primary: #ffffff;
	--c-on-primary-cont: #90d2da;
	--c-on-secondary-cont: #3f6c65;
	--c-outline: #1e3d39;
	--c-outline-variant: #bfc8c9;
	--c-error: #ba1a1a;
	
	--r-sm: 0.25rem;
	--r-md: 0.5rem;
	--r-lg: 2.75rem;
	--r-xl: 1rem;
	--r-2xl: 1.5rem;
	--r-full: 9999px;
	--r-card: 1.5rem;
	
	--sp-xs: 4px;
	--sp-sm: 12px;
	--sp-md: 24px;
	--sp-lg: 64px 48px;
	--sp-xl: 64px 48px;
	
	--ff-heading: "Baskervville", serif;
	--ff-body: "Public Sans", sans-serif;
	
	--fs-h1: clamp(2.3rem, 4vw, 3rem);
	--fs-h2: clamp(2.25rem, 2.1777rem + 0.3614vw, 2.625rem);
	--fs-h3: clamp(1.25rem, 1.2018rem + 0.241vw, 1.5rem);
	--fs-body-lg: 1.125rem;
	--fs-body-md: 1.1rem;
	--fs-body-sm: 0.875rem;
	--fs-label: 0.75rem;
	
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
	--shadow-md: 0 4px 20px rgba(13, 92, 99, .08);
	--shadow-lg: 0 8px 30px rgba(13, 92, 99, .14);
	--shadow-xl: 0 20px 40px rgba(0, 0, 0, .12);
}


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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--ff-body);
	font-size: var(--fs-body-md);
	line-height: 1.6;
	color: var(--c-on-surface);
	background: var(--c-surface);
	-webkit-font-smoothing: antialiased;
	
}


@media (max-width: 900px) {
	body {
		padding-bottom: 5rem;
	}
}

html:has(dialog[open]), body:has(dialog[open]) {
	overflow-x: hidden !important;
	overflow-y: hidden !important;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

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

ul {
	margin: 24px;
	list-style-position: outside;
	padding: 24px
}

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

button, input, textarea, select {
	font: inherit;
}

button {
	cursor: pointer;
}

/* ── Skip Link ─────────────────────────────────────────────────── */
.skip-link {
	position: absolute;
	top: -100%;
	left: var(--sp-md);
	background: var(--c-primary);
	color: var(--c-on-primary);
	padding: 0.5rem 1rem;
	border-radius: var(--r-md);
	font-weight: 600;
	z-index: 200;
	transition: top .2s;
}

.skip-link:focus {
	top: var(--sp-md);
}

.visually-hidden {
	position: absolute;
	top: -100%;
	height: 0;
	left: -10000px
}

/* ── Layout helpers ────────────────────────────────────────────── */
.container {
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: var(--sp-md);
}

@media (min-width: 768px) {
	.container {
		padding-inline: var(--sp-lg);
	}
}

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
	font-family: var(--ff-heading);
	line-height: 1.1;
	color: var(--c-on-surface-variant);
	margin: 1em 0 0.5em 0
}

h1 {
	font-size: var(--fs-h1);
	font-weight: 400;
}

h2 {
	font-size: var(--fs-h2);
	font-weight: 400;
}

h3 {
	font-size: var(--fs-h3);
	font-weight: 600;
	font-family: var(--ff-body)
}

h4 {
	font-size: 1.125rem;
	font-weight: 700;
}

p {
	margin: 0 0 1rem 0
}



a:focus-visible {
	outline: 2px solid var(--c-primary-container);
	outline-offset: 2px;
	border-radius: 2px; /* optional */
}



/* ── Main Navigation ───────────────────────────────────────────── */
.main-nav {
	background: rgba(255, 255, 255, .88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--c-surface-low);
	box-shadow: var(--shadow-md);
	position: sticky;
	top: 2.25rem;
	z-index: 50;
}

.main-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	
}

.main-nav__brand {
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.3rem;
	color: var(--c-primary-container);
	display: flex;
	gap: 24px
}

.main-nav__brand img {
	margin-top: 12px;
	align-self: flex-start;
	max-width: 100px
}

.main-nav__brand span {
	margin: 12px 0;
	display: block
}

@media (min-width: 768px) {
	
	.main-nav__brand img {max-width:140px}
	.main-nav__brand {
		display: flex;
		align-items: center;
		gap: 1rem;
		line-height: 1.3rem;
		font-size: 1.0rem;
		color: var(--c-primary-container);
		
	}
	
	.main-nav__brand img {
	
	}
	
}

.main-nav__links {
	display: none;
	align-items: center;
	gap: 0.25rem;
	list-style: "";
	margin: 12px 0
}

@media (min-width: 900px) {
	.main-nav__links {
		display: flex;
		flex-wrap: wrap;
	
	}
	

}

.main-nav__links a {
	padding: 0.5rem 0.75rem;
	border-radius: var(--r-md);
	font-size: var(--fs-body-md);
	font-weight: 400;
	color: var(--c-primary-container);
	transition: background .15s, color .15s;
}

.main-nav__links a:hover,
.main-nav__links a:focus-visible {
	background: var(--c-surface-low);
	color: var(--c-on-surface-variant);
}

.main-nav__links a[aria-current="page"] {
	color: var(--c-primary-container);
}

/* Mobile menu toggle */
.nav-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--c-primary);
	padding: 0.25rem;
	border-radius: var(--r-md);
}

@media (min-width: 768px) {
	.nav-toggle {
		display: none;
	}
}

/* Mobile nav drawer */
.mobile-nav {
	display: none;
	flex-direction: column;
	background: #fff;
	border-bottom: 1px solid var(--c-outline-variant);
	padding: var(--sp-sm) var(--sp-md);
}

.mobile-nav.is-open {
	display: flex;
}

.mobile-nav a {
	padding: 0.75rem 0.5rem;
	border-bottom: 1px solid var(--c-surface-container);
	font-weight: 600;
	color: var(--c-on-surface-variant);
}

.mobile-nav a:last-child {
	border-bottom: none;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--c-primary-container);
	color: var(--c-on-primary);
	padding: 0.5rem 1.5rem;
	border: none;
	border-radius: var(--r-lg);
	font-weight: 600;
	font-size: var(--fs-body-md);
	box-shadow: var(--shadow-md);
	transition: opacity .15s;
}

.btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--c-on-primary);
	color: var(--c-primary);
	padding: 0.5rem 1.5rem;
	border: 2px solid var(--c-outline);
	border-radius: var(--r-lg);
	font-weight: 600;
	font-size: var(--fs-body-md);
	transition: background .15s;
}
.btn-outline:hover, .btn-outline:focus-visible { background: var(--c-surface-container); }


.btn-primary span {
	margin-top: 7px
}

.btn-primary:hover, .btn-primary:focus-visible {
	opacity: .88;
}


/* Focus ring */
:focus-visible {
	outline: 3px solid var(--c-primary-container);
	outline-offset: 3px;
}

/* ── Section spacing ───────────────────────────────────────────── */
.section {
	padding-block: var(--sp-xl);
	position: relative
}
#page {padding-top:0}
.section--sm {
	padding-block: var(--sp-lg);
}

/* ── Badge ─────────────────────────────────────────────────────── */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.25rem 0.75rem;
	background: var(--c-secondary-container);
	color: var(--c-on-secondary-cont);
	border-radius: var(--r-full);
}

/* ── Hero ──────────────────────────────────────────────────────── */


.hero {
	display: flex;
	flex-direction: column;
	gap: var(--sp-lg);
	padding-bottom: 100px;
	
	
}


.welle:after {
	width: 100%;
	height: 8vw;
	display: block;
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: url(../bilder/welle.png);
	background-repeat: repeat;
	background-size: auto;
	background-repeat: no-repeat;
	background-size: 100% 8vw;
}

@media (min-width: 768px) {
	.hero {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		width:100%;
		padding-bottom: 150px;
		
	}
	.topsection {
		

		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;

		
	}
}

@media (min-width: 1400px) {
	.topsection {
		min-height:750px
	}
}

.hero__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: var(--sp-md);
}

.hero__text h1 {
	margin-top: 0.5rem;
	margin-bottom:0;
	color: var(--c-primary);

}

.hero__text h1 span {
	font-family: var(--ff-body);
	font-size: 0.9rem;
	line-height: 1.2em;
	display: block;
	font-weight: 400;
	margin-bottom:0.8rem
}

.hero__text p {
	font-size: clamp(1.1rem, 1.1009rem + 0.1205vw, 1.25rem);
	color: var(--c-primary);
	max-width: 50rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	padding-top: 0.5rem;
}












/* ── News Grid ─────────────────────────────────────────────────── */
.section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: var(--sp-lg);
}

.section-header p {
	color: var(--c-on-surface-variant);
	margin-top: 0.5rem;
}

.section-header__link {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-weight: 600;
	color: var(--c-primary);
	white-space: nowrap;
	flex-shrink: 0;
}

.section-header__link:hover, .section-header__link:focus-visible {
	text-decoration: underline;
}
#leistungen {padding-top:0}

/* ── Services Bento ─────────────────────────────────────────────── */
.services-intro {
	text-align: center;
	margin-bottom: var(--sp-lg);
}

.services-intro p {
	color: var(--c-on-surface-variant);
	max-width: 38rem;
	margin-inline: auto;
	margin-top: 0.75rem;
}

.bento {
	display: grid;
	gap: var(--sp-md);
	grid-template-columns: 1fr;
	margin: 0;
	padding: 0;
}


@media (min-width: 64em) {
	.bento {
		.bento__card--large {
			grid-column: span 2;
		}
		
		grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
	}
}

.bento__card, .box {
	background: #fff;
	border: 1px solid var(--c-surface-low);
	border-radius: 1.5rem;
	padding: var(--sp-md);
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transition: border-color .2s;
	color: var(--c-on-surface);
	
}

.box {
	background: var(--c-on-surface);
	color:#fff;
	border: 1px solid var(--c-surface-low);
	border-radius: 1.5rem;
	padding: var(--sp-md);
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transition: border-color .2s;
	max-width: 900px;
	margin:24px auto
	
}
.box h2, .box h3
{color:#fff}

bento__card:hover {
	border-color: rgba(13, 92, 99, .3);
}

.bento__card--large {
	padding: var(--sp-md);
}

.bento__icon {
	width: 3rem;
	height: 3rem;
	background: var(--c-surface-container);
	border-radius: var(--r-xl);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--c-primary);
	margin-bottom: 1rem;
	transition: transform .2s;
}

.bento__card--large .bento__icon {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: var(--r-2xl);
}

.bento__card:hover .bento__icon {
	transform: scale(1.1);
}

.bento__card h3 {
	color: var(--c-primary-container);
}


.bento__checklist {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
	padding: 0
}

.bento__checklist li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500;
	color: var(--c-primary);
}

.bento__checklist li .material-symbols-outlined {
	color: var(--c-secondary);
}

/* ── Team Section ───────────────────────────────────────────────── */
.team-section {
	
	background: #D9F1FF;
	padding: var(--sp-lg);
}

.team-member {
	text-align: center
}

#igel {
	background: #047E97;
	color: #fff;
	
}

#igel h2 {
	color: #fff
}
#igel .bento {max-width:56rem; margin:0 auto}
.smallbox {
	max-width: 39em;
	margin: 0 auto
}




#igel img {
	border-radius: 100px 0 30px 0;
	max-width: 100%;
	width:900px;
}

small {
	line-height: 1.1em;
	display: inline-block
}


.team-section  .container {padding: 0;
}
@media (min-width: 768px) {
	.team-section {
		padding: var(--sp-xl);
	}
}

.team-inner {
	display: flex;
	flex-direction: column;
	gap: var(--sp-xl);
	align-items: center;
	flex-wrap: wrap;
}

@media (min-width: 768px) {
	.team-inner {
		flex-direction: row;
	}
}


.team-photo:nth-child(2) {
	margin-top: 2rem;
}

.team-member .img-placeholder {
	border-radius: 100%;
	border: solid 3px var(--c-primary-container);
	max-width: 250px;
 aspect-ratio: 1;
	overflow: hidden;
	margin: 24px auto
}

.team-member .img-placeholder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-text {
	display: flex;
	flex-direction: column;
	gap: var(--sp-md);
	margin: 0 auto
}

.team-text p {
}

.team-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-md);
	margin-top: 0.5rem;
}

@media (min-width: 680px) {
	.team-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.team-member strong {
	display: block;
	color: var(--c-primary);
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.team-member em {
	font-size: var(--fs-body-sm);
	color: var(--c-on-surface-variant);
}

/* ── Contact / CTA ──────────────────────────────────────────────── */
.contact-box {
	background: var(--c-primary-container);
	color: #fff;
	border-radius: 2rem;
	padding: var(--sp-md);
	position: relative;
	overflow: hidden;
}

@media (min-width: 768px) {
	.contact-box {
		padding: var(--sp-xl);
	}
}





.contact-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: var(--sp-xl);
}

@media (min-width: 1124px) {
	.contact-inner {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		flex-wrap: wrap
	}
	

}

@media (min-width: 1200px) {

	
	.contact-form-card {
		
		max-width: 32rem;
		
	}
}

.contact-info {
	max-width: 30rem;
	display: flex;
	flex-direction: column;
	gap: var(--sp-md);
}

.contact-info h2, .contact-info h3 {
	color: #fff;
}

.contact-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.contact-detail {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.contact-detail .material-symbols-outlined {
	color: var(--c-on-primary-cont);
	margin-top: 0.1rem;
	flex-shrink: 0;
}

.contact-detail strong {
	display: block;
	margin-bottom: 0.2rem;
}

.contact-detail p, .contact-detail address {
	font-style: normal;
}



/* Contact form card */
.contact-form-card {
	background: #fff;
	color: var(--c-on-surface);
	border-radius: var(--r-2xl);
	padding: var(--sp-md);
	box-shadow: var(--shadow-xl);
	width: 100%;
	align-self: center;
}

.contact-form-card h3 {
	color: var(--c-primary);
	margin-bottom: 1.5rem;
	font-size: 1.25rem;
}


.smallboxcenter {
	max-width: 980px;
	margin: 0 auto;
	text-align: center
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	padding-block: var(--sp-xl);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-xl);
	margin-bottom: var(--sp-lg);
}

@media (min-width: 740px) {
	.footer-grid {
		grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
	}
	

}


.footer-brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--ff-heading);
	font-weight: 700;
	color: var(--c-primary-container);
	margin-bottom: 1rem;
}

.footer-brand p {
	font-family: var(--ff-body);
	font-weight: 400;
	font-size: var(--fs-body-sm);
	margin-top: 0.5rem;
	max-width: 18rem;
}

.footer-col h4 {
	font-weight: 700;
	color: var(--c-primary);
	margin-bottom: 1rem;
	font-family: var(--ff-body);
}

.footer-col ul {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style-type: ''
}

.footer-nav   {display: flex; gap:24px; list-style-type: none; margin:0; padding:0  }

.footer-col li a, .footer-col address {
	font-size: var(--fs-body-sm);
	font-style: normal;
}

.footer-col li a:hover, .footer-col li a:focus-visible , .footer-nav a:hover {
	color: var(--c-primary-container);
	text-decoration: underline;
}

.footer-hours {
	font-size: var(--fs-body-sm);
}

.footer-hours div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.15rem;
}

.footer-hours .closed {
	font-weight: 600;
	color: var(--c-primary);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-top: var(--sp-md);
	border-top: 1px solid #e2e8f0;
}

.footer-bottom p {
	font-size: var(--fs-body-sm);
}

.footer-legal {
	display: flex;
	gap: 2rem;
}

.footer-legal a {
	font-size: var(--fs-body-sm);
}

.footer-legal a:hover, .footer-legal a:focus-visible {
	color: var(--c-primary-container);
}

.footer-legal a.emergency {
	color: var(--c-primary-container);
	text-decoration: underline;
}

/* ── Mobile Bottom Nav ──────────────────────────────────────────── */
.bottom-nav {
	display: flex;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #fff;
	border-top: 1px solid var(--c-surface-low);
	box-shadow: 0 -4px 15px rgba(13, 92, 99, .08);
	border-radius: 1rem 1rem 0 0;
	justify-content: space-around;
	padding: 0.75rem 1rem;
	z-index: 50;
}

@media (min-width: 900px) {
	.bottom-nav {
		display: none;
	}
}

.bottom-nav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.1rem;
	font-size: 0.625rem;
	font-weight: 500;
	border-radius: 0.75rem;
	padding: 0.35rem 0.75rem;
	transition: background .15s, color .15s;
}

.bottom-nav a[aria-current="page"] {
	color: var(--c-primary-container);
	background: var(--c-surface-low);
}

.bottom-nav a:hover, .bottom-nav a:focus-visible {
	color: var(--c-primary-container);
}

/* Extra bottom space for mobile nav */
@media (max-width: 900px) {
	main {
		padding-bottom: 5rem;
	}
}

/* ── Dark mode overrides for hardcoded colours ─────────────────── */

@media (min-width: 768px) {
	.theme-toggle {
		bottom: 2rem;
	}
}

.theme-toggle:hover, .theme-toggle:focus-visible {
	background: var(--c-secondary-container);
	transform: scale(1.08);
}


@media screen and (min-width: 900px) {
	dialog {
		min-width: 900px;
	}
}

@media screen and (min-width: 600px) {
	dialog {
		min-width: 600px;
	}
}

dialog {
	min-width: 350px;
	overflow-x: hidden;
	background: #fff;
	padding: 48px 24px 24px 24px;
	border: 0;
	scrollbar-width: thin;
	scrollbar-color: var(--c-primary-container) var(--c-surface);
	box-shadow: var(--shadow-md);
	max-width: 1024px;
	text-align: left;
	border-radius: 4px;
	max-height: 100vh;
	margin: auto;
	position: fixed;
	inset: 0;
	opacity: 0;
	transform: scale(0.96) translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease,
	display 0.3s allow-discrete, overlay 0.3s allow-discrete;
}

dialog[open] {
	opacity: 1;
	transform: none;
}

@starting-style {
	dialog[open] {
		opacity: 0;
		transform: scale(0.96) translateY(-10px);
	}
}


dialog h2, dialog h3, dialog h4, dialog ul {
	margin: 0 0 24px 0
}

dialog[open]::backdrop {
	animation: backdrop-fade-in forwards;
	
}

::backdrop {
	position: fixed;
	inset: 0;
	
	background: var(--c-surface-low);
	z-index: 10000;
	opacity: .8;
}

dialog .close-dialog {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 45px;
	background: #fff;
	border: 0;
	padding: 5px;
	cursor: pointer;
}

dialog .close-dialog::before, dialog .close-dialog::after {
	content: "";
	transition: all 1s;
	border: solid 2px;
	width: 35px;
	height: 0;
	position: absolute;
	top: 20px;
	right: 0;
	transform: rotate(-45deg);
	display: block;
}

dialog .close-dialog::after {
	transform: rotate(-135deg);
}

ul.bordered {
	margin: 24px 0;
	list-style-type: '';
	padding: 0
}

ul.bordered li {
	border-bottom: 3px solid #e2e8f0;
	padding: 6px 0;
	margin: 0 24px;
	color: var(--c-primary);
}

ul.bordered li:last-child {
	border-bottom: 0;
}

ul.bordered li:first-child {
	padding-top: 0;
}


.intro {
	font-size: clamp(1.125rem, 1.1009rem + 0.1205vw, 1.25rem);
	color: var(--c-on-surface-variant);
}

#kontakt {
	padding: 48px 0
}
@media (prefers-reduced-motion: no-preference) {
	
	.reveal {
		opacity: 0;
		transition: opacity 0.6s ease, transform 0.6s ease;
	}
	
	.reveal-up {
		transform: translateY(32px);
	}
	
	.reveal-left {
		transform: translateX(-32px);
	}
	
	.reveal-right {
		transform: translateX(32px);
	}
	
	.reveal.is-visible {
		opacity: 1;
		transform: none;
	}
	
	/* Stagger für bento-Cards */
	.reveal-stagger .reveal:nth-child(1) { transition-delay: 0.05s; }
	.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.15s; }
	.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.25s; }
	.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.35s; }
	.reveal-stagger .reveal:nth-child(5) { transition-delay: 0.45s; }
}
