/* ============================================
   Geier Grund & Grenze — Design Tokens
   ============================================ */
:root {
	--ggg-bg: #182518;
	--ggg-bg-darker: #0E170E;
	--ggg-bg-alt: #24361F;
	--ggg-stone: #8C8577;
	--ggg-rust: #AD7D4C;
	--ggg-rust-light: #D0A167;
	--ggg-moss: #3C5934;
	--ggg-cream: #F5F1E6;
	--ggg-cream-dim: #CBC4B2;

	--ggg-font-display: 'Bitter', Georgia, serif;
	--ggg-font-body: 'Work Sans', -apple-system, sans-serif;
	--ggg-font-mono: 'JetBrains Mono', 'Courier New', monospace;

	--ggg-radius: 2px;
	--ggg-container: 1140px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ggg-bg);
	color: var(--ggg-cream);
	font-family: var(--ggg-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--ggg-font-display); margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--ggg-rust-light); outline-offset: 2px; }

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

.ggg-wrap {
	max-width: var(--ggg-container);
	margin: 0 auto;
	padding: 0 24px;
}
.ggg-wrap--narrow { max-width: 760px; }
.ggg-center { text-align: center; }

.ggg-eyebrow {
	font-family: var(--ggg-font-mono);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.78rem;
	color: var(--ggg-rust-light);
	margin: 0 0 0.75em;
}
.ggg-h2 {
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
	font-weight: 700;
	color: var(--ggg-cream);
}
.ggg-note { color: var(--ggg-cream-dim); max-width: 560px; }

/* ============================================
   Buttons
   ============================================ */
.ggg-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	font-family: var(--ggg-font-body);
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: var(--ggg-radius);
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
}
.ggg-btn--solid { background: var(--ggg-rust); color: var(--ggg-cream); }
.ggg-btn--solid:hover { background: var(--ggg-rust-light); transform: translateY(-1px); }
.ggg-btn--ghost { background: transparent; border-color: var(--ggg-stone); color: var(--ggg-cream); }
.ggg-btn--ghost:hover { border-color: var(--ggg-cream); transform: translateY(-1px); }
.ggg-btn--lg { padding: 15px 28px; font-size: 1rem; }

/* ============================================
   Header
   ============================================ */
.ggg-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(23, 19, 15, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(138, 130, 114, 0.25);
	transition: padding 0.2s ease;
}
.ggg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 24px;
}
.ggg-header.is-scrolled .ggg-header__inner { padding-top: 10px; padding-bottom: 10px; }

.ggg-logo { display: flex; align-items: center; gap: 10px; }
.ggg-logo__img { height: 92px; width: auto; transition: height 0.2s ease; }
.ggg-header.is-scrolled .ggg-logo__img { height: 60px; }
.ggg-logo__mark {
	width: 26px; height: 30px;
	background: var(--ggg-stone);
	clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
	flex-shrink: 0;
}
.ggg-logo__text { font-family: var(--ggg-font-display); font-weight: 700; font-size: 1.15rem; color: var(--ggg-cream); }

.ggg-nav { display: flex; gap: 28px; font-size: 0.95rem; }
.ggg-nav a { color: var(--ggg-cream-dim); transition: color 0.15s ease; }
.ggg-nav a:hover { color: var(--ggg-cream); }

.ggg-header__cta { display: flex; gap: 10px; }
.ggg-header__note {
	text-align: center;
	font-family: var(--ggg-font-mono);
	font-size: 0.72rem;
	color: var(--ggg-stone);
	margin: 0;
	padding-bottom: 8px;
	letter-spacing: 0.04em;
}

.ggg-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.ggg-nav-toggle span { width: 22px; height: 2px; background: var(--ggg-cream); }

/* ============================================
   Hero
   ============================================ */
.ggg-hero {
	padding: 96px 0 56px;
	position: relative;
	overflow: hidden;
	background: radial-gradient(circle at 80% 0%, rgba(168, 83, 46, 0.14), transparent 55%), var(--ggg-bg);
}
.ggg-hero__inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.ggg-hero__title {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	font-weight: 800;
	color: var(--ggg-cream);
	position: relative;
	z-index: 1;
}
.ggg-hero__sub {
	font-size: 1.1rem;
	color: var(--ggg-cream-dim);
	max-width: 540px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 1;
}
.ggg-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 28px 0 40px; position: relative; z-index: 1; }

.ggg-ticker {
	display: flex;
	gap: 32px;
	overflow: hidden;
	white-space: nowrap;
	border-top: 1px solid rgba(138, 130, 114, 0.3);
	border-bottom: 1px solid rgba(138, 130, 114, 0.3);
	padding: 14px 0;
	font-family: var(--ggg-font-mono);
	font-size: 0.8rem;
	color: var(--ggg-stone);
	mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.ggg-ticker__track {
	display: flex;
	gap: 32px;
	flex-shrink: 0;
	animation: ggg-scroll 22s linear infinite;
}
.ggg-ticker li { flex-shrink: 0; }

@keyframes ggg-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.ggg-ticker__track { animation: none; }
}

/* Scroll-reveal */
.ggg-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.ggg-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.ggg-reveal-group .ggg-reveal:nth-child(1) { transition-delay: 0s; }
.ggg-reveal-group .ggg-reveal:nth-child(2) { transition-delay: 0.1s; }
.ggg-reveal-group .ggg-reveal:nth-child(3) { transition-delay: 0.2s; }
.ggg-reveal-group .ggg-reveal:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
	.ggg-reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   Sections
   ============================================ */
.ggg-section { padding: 76px 0; }
.ggg-section--alt { background: var(--ggg-bg-alt); }
.ggg-section--dark { background: var(--ggg-bg-darker); }

.ggg-grid { display: grid; gap: 24px; margin-top: 36px; }
.ggg-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ggg-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ggg-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }

/* Cards */
.ggg-card {
	background: var(--ggg-bg-alt);
	border: 1px solid rgba(138, 130, 114, 0.25);
	border-radius: var(--ggg-radius);
	padding: 26px 22px;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.ggg-card:hover {
	transform: translateY(-4px);
	border-color: rgba(208, 161, 103, 0.5);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}
.ggg-card__mark {
	font-family: var(--ggg-font-mono);
	color: var(--ggg-rust-light);
	font-size: 0.85rem;
	margin-bottom: 10px;
}
.ggg-card--soon { border-style: dashed; opacity: 0.92; position: relative; }
.ggg-card__badge {
	position: absolute;
	top: 22px;
	right: 22px;
	background: var(--ggg-rust);
	color: var(--ggg-bg-darker);
	font-family: var(--ggg-font-mono);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	border-radius: 20px;
}
.ggg-card h3 { font-size: 1.15rem; color: var(--ggg-cream); }
.ggg-card p { color: var(--ggg-cream-dim); font-size: 0.94rem; flex-grow: 1; }
.ggg-card__price { font-family: var(--ggg-font-mono); font-size: 0.78rem; color: var(--ggg-stone); display: block; margin-bottom: 10px; }
.ggg-card__link { color: var(--ggg-rust-light); font-weight: 600; font-size: 0.92rem; }
.ggg-card__link:hover { color: var(--ggg-cream); }

/* Steps */
.ggg-step { text-align: center; padding: 0 12px; }
.ggg-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	border: 1.5px solid var(--ggg-rust);
	border-radius: 50%;
	font-family: var(--ggg-font-mono);
	font-size: 1.1rem;
	color: var(--ggg-rust-light);
	margin-bottom: 16px;
}
.ggg-step h3 { font-size: 1.1rem; color: var(--ggg-cream); }
.ggg-step p { color: var(--ggg-cream-dim); font-size: 0.94rem; }

/* Beispielprojekte */
.ggg-project {
	background: var(--ggg-bg-alt);
	border: 1px solid rgba(138, 130, 114, 0.25);
	border-radius: var(--ggg-radius);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ggg-project:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25); }
.ggg-project__img {
	aspect-ratio: 4 / 3;
	background: repeating-linear-gradient(45deg, rgba(138,130,114,0.12), rgba(138,130,114,0.12) 10px, transparent 10px, transparent 20px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ggg-stone);
	font-family: var(--ggg-font-mono);
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	width: 100%;
	object-fit: cover;
	object-position: center 30%;
	transition: transform 0.4s ease;
}
.ggg-project:hover .ggg-project__img { transform: scale(1.05); }
.ggg-project h3 { font-size: 1.05rem; color: var(--ggg-cream); margin: 18px 20px 8px; }
.ggg-project p { color: var(--ggg-cream-dim); font-size: 0.92rem; margin: 0 20px 20px; }

.ggg-project__split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ggg-project__split figure { margin: 0; position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.ggg-project__split img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ggg-project__split figcaption {
	position: absolute;
	bottom: 8px;
	left: 8px;
	background: rgba(14, 23, 14, 0.75);
	color: var(--ggg-cream);
	font-family: var(--ggg-font-mono);
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 8px;
	border-radius: 3px;
}

/* Testimonials (unused for now, kept for future real reviews) */
.ggg-quote {
	background: var(--ggg-bg-alt);
	border: 1px solid rgba(138, 130, 114, 0.25);
	padding: 24px;
	border-radius: var(--ggg-radius);
	margin: 0;
}
.ggg-quote__stars { color: var(--ggg-rust-light); letter-spacing: 2px; display: block; margin-bottom: 10px; }
.ggg-quote blockquote { margin: 0 0 14px; color: var(--ggg-cream-dim); font-style: italic; }
.ggg-quote figcaption { font-family: var(--ggg-font-mono); font-size: 0.8rem; color: var(--ggg-stone); }

/* Chips */
.ggg-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.ggg-chips li {
	border: 1px solid var(--ggg-stone);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.9rem;
	color: var(--ggg-cream-dim);
}

/* Accordion */
.ggg-accordion { margin-top: 32px; border-top: 1px solid rgba(138, 130, 114, 0.3); }
.ggg-accordion__item {
	border-bottom: 1px solid rgba(138, 130, 114, 0.3);
	padding: 18px 0;
}
.ggg-accordion__item summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--ggg-cream);
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.ggg-accordion__item summary::-webkit-details-marker { display: none; }
.ggg-accordion__item summary::after { content: '+'; font-family: var(--ggg-font-mono); color: var(--ggg-rust-light); font-size: 1.2rem; }
.ggg-accordion__item[open] summary::after { content: '–'; }
.ggg-accordion__item p { color: var(--ggg-cream-dim); margin-top: 12px; margin-bottom: 0; }

/* ============================================
   Contact
   ============================================ */
.ggg-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; margin-top: 36px; }
.ggg-contact__info { display: flex; flex-direction: column; gap: 16px; }
.ggg-info-card {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: var(--ggg-bg-alt);
	border: 1px solid rgba(138, 130, 114, 0.25);
	padding: 16px 18px;
	border-radius: var(--ggg-radius);
}
.ggg-info-card span { font-size: 1.2rem; color: var(--ggg-rust-light); }
.ggg-info-card h3 { font-size: 0.9rem; margin-bottom: 4px; color: var(--ggg-cream); }
.ggg-info-card a, .ggg-info-card p { color: var(--ggg-cream-dim); font-size: 0.92rem; margin: 0; }
.ggg-info-card a:hover { color: var(--ggg-cream); }

.ggg-form {
	background: var(--ggg-bg-alt);
	border: 1px solid rgba(138, 130, 114, 0.25);
	padding: 28px;
	border-radius: var(--ggg-radius);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ggg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ggg-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--ggg-cream-dim); }
.ggg-form input, .ggg-form select, .ggg-form textarea {
	background: var(--ggg-bg-darker);
	border: 1px solid rgba(138, 130, 114, 0.4);
	color: var(--ggg-cream);
	padding: 10px 12px;
	border-radius: var(--ggg-radius);
	font-family: var(--ggg-font-body);
	font-size: 0.95rem;
}
.ggg-form input:focus, .ggg-form select:focus, .ggg-form textarea:focus { border-color: var(--ggg-rust-light); }
.ggg-form__status { padding: 12px 14px; border-radius: var(--ggg-radius); font-size: 0.9rem; }
.ggg-form__status--ok { background: rgba(94, 107, 76, 0.25); border: 1px solid var(--ggg-moss); }
.ggg-form__status--error { background: rgba(168, 83, 46, 0.2); border: 1px solid var(--ggg-rust); }

/* ============================================
   Footer
   ============================================ */
.ggg-footer { background: var(--ggg-bg-darker); padding: 40px 0 24px; border-top: 1px solid rgba(138, 130, 114, 0.25); }
.ggg-footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.ggg-footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--ggg-font-display); font-weight: 700; }
.ggg-footer__brand img { height: 60px; width: auto; }
.ggg-footer__links { display: flex; gap: 20px; font-size: 0.88rem; color: var(--ggg-cream-dim); }
.ggg-footer__links a:hover { color: var(--ggg-cream); }
.ggg-footer__social { display: flex; gap: 16px; font-size: 0.88rem; }
.ggg-footer__copy { text-align: center; margin: 24px 0 0; font-size: 0.78rem; color: var(--ggg-stone); }

/* Legal pages */
.ggg-legal__content { color: var(--ggg-cream-dim); line-height: 1.7; }
.ggg-legal__content h2 { color: var(--ggg-cream); font-size: 1.2rem; margin-top: 1.8em; }
.ggg-legal__content h3 { color: var(--ggg-cream); font-size: 1.02rem; margin-top: 1.4em; margin-bottom: 0.4em; }
.ggg-legal__content a { color: var(--ggg-rust-light); text-decoration: underline; }
.ggg-legal__content p { margin: 0 0 1em; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
	.ggg-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.ggg-contact { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
	.ggg-nav, .ggg-header__cta { display: none; }
	.ggg-nav-toggle { display: flex; }
	.ggg-header.is-open .ggg-nav {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--ggg-bg-darker);
		padding: 20px 24px;
		gap: 16px;
		border-bottom: 1px solid rgba(138, 130, 114, 0.3);
	}
	.ggg-header.is-open .ggg-header__cta {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: calc(100% + 190px);
		left: 0; right: 0;
		background: var(--ggg-bg-darker);
		padding: 0 24px 20px;
	}
	.ggg-grid--3, .ggg-grid--4, .ggg-grid--2 { grid-template-columns: 1fr; }
	.ggg-form__row { grid-template-columns: 1fr; }
	.ggg-header__note { display: none; }
}
